RFR: 8294982: Implementation of Classfile API [v36]

Adam Sotona asotona at openjdk.org
Fri Mar 3 14:57:21 UTC 2023


On Thu, 2 Mar 2023 19:27:58 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   StackMapFrameInfo extracted to top level from StackMapTableAttribute
>
> src/java.base/share/classes/jdk/internal/classfile/instruction/CharacterRange.java line 42:
> 
>> 40:  * the setting of the {@link Classfile.Option#processDebug(boolean)} option.
>> 41:  */
>> 42: public sealed interface CharacterRange extends PseudoInstruction
> 
> This and some other instructions with unbounded implementations do not have static `of` factory methods. Is that intended?

It seems to be incomplete. I'll add factory methods to `CharacterRange`, `LineNumber`, `LocalVariable` and `LocalVariableType`.
Thanks for pointing it out.

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

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



More information about the build-dev mailing list