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

Adam Sotona asotona at openjdk.org
Wed Mar 15 12:10:30 UTC 2023


On Tue, 14 Mar 2023 18:00:51 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> Right, I'll fix it, thanks.
>
> Looks like `LineNumberTable` is not stripped even with `Option.processLineNumbers(false)`.

Yes, I forgot to transform code elements, where  `Classfile.Option.processLineNumbers(false)` option is applied.
Thanks for catching it.

We may also consider a new form of transformation allowing to filter code attributes without inflation of all code elements (in the Classfile API).

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

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


More information about the core-libs-dev mailing list