8334726: Remove accidentally exposed individual methods from Class-File API

Reviewed-by: asotona
This commit is contained in:
Chen Liang 2024-07-03 02:42:06 +00:00
parent f187c92bef
commit 3a2d426489
7 changed files with 7 additions and 37 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -92,14 +92,6 @@ public sealed interface ConstantPoolBuilder
*/
boolean canWriteDirect(ConstantPool constantPool);
/**
* Writes associated bootstrap method entries to the specified writer
*
* @param buf the writer
* @return false when no bootstrap method entry has been written
*/
boolean writeBootstrapMethods(BufWriter buf);
/**
* {@return A {@link Utf8Entry} describing the provided {@linkplain String}}
* If a UTF8 entry in the pool already describes this string, it is returned;