RFR: 8294982: Implementation of Classfile API [v15]
Adam Sotona
asotona at openjdk.org
Tue Mar 7 14:39:13 UTC 2023
On Wed, 15 Feb 2023 14:24:18 GMT, Adam Sotona <asotona at openjdk.org> wrote:
>> src/java.base/share/classes/jdk/internal/classfile/instruction/CharacterRange.java line 47:
>>
>>> 45: * {@return the start of the instruction range}
>>> 46: */
>>> 47: Label startScope();
>>
>> I noticed that this pattern of start/endScope is here, but also in ExceptionCatch, LocalVariable and LocalVariableType. Consider using a common interface for "instructions that are associated with a range".
>
> That is interesting RFE, thanks.
collected and tracked in the mailing list
-------------
PR: https://git.openjdk.org/jdk/pull/10982
More information about the build-dev
mailing list