RFR: 8294982: Implementation of Classfile API [v12]

Adam Sotona asotona at openjdk.org
Tue Mar 7 14:39:04 UTC 2023


On Mon, 6 Feb 2023 14:25:54 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> src/java.base/share/classes/jdk/internal/classfile/CodeBuilder.java line 1371:
>> 
>>> 1369:     }
>>> 1370: 
>>> 1371:     default CodeBuilder tableswitch(Label defaultTarget, List<SwitchCase> cases) {
>> 
>> `switch` seems the one instruction for which an high-level variant (like `trying`) could be useful, as generating code for that can be quite painful.
>
> Nice 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