RFR: 8294982: Implementation of Classfile API [v12]

Adam Sotona asotona at openjdk.org
Mon Feb 6 14:11:57 UTC 2023


On Fri, 3 Feb 2023 17:58:04 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Classfile API moved under jdk.internal.classfile package
>
> src/java.base/share/classes/jdk/internal/classfile/BootstrapMethodEntry.java line 41:
> 
>> 39:  * part of the constant pool.
>> 40:  */
>> 41: public sealed interface BootstrapMethodEntry
> 
> Usages of this seem all to fall into the `constantpool` package - does this interface belong there?

`BootstrapMethodEntry` is not a constant pool entry, but `BootstrapMethodsAttribute` entry.
It might be rather moved under `attribute` package and renamed to `BootstrapMethodInfo` to follow the same pattern as other attributes/infos.

-------------

PR: https://git.openjdk.org/jdk/pull/10982



More information about the build-dev mailing list