RFR: 8294972: Convert jdk.jlink internal plugins to use the Classfile API [v13]

Alan Bateman alanb at openjdk.org
Mon Mar 20 15:34:15 UTC 2023


On Mon, 20 Mar 2023 12:02:31 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> jdk.jlink internal plugins are heavily using ASM
>> 
>> This patch converts ASM calls to Classfile API.
>> 
>> Please review.
>> Thanks,
>> Adam
>
> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
> 
>   added default to thrown for unknown CP tag in IncludeLocalesPlugin

src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/SystemModulesPlugin.java line 523:

> 521:         private int nextLocalVar         = 2;  // index to next local variable
> 522: 
> 523:         // name of class to generate

With the switch the ClassDesc then some of the comments might need to be adjusted.

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

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


More information about the core-libs-dev mailing list