RFR: JDK-8160829 - Remove ASMPool support from jlink

Paul Sandoz paul.sandoz at oracle.com
Tue Jul 5 14:56:45 UTC 2016

> On 5 Jul 2016, at 16:18, Jim Laskey (Oracle) <james.laskey at oracle.com> wrote:
> Much of the removed code seems unnecessary since the same functionality can be accomplished with much simpler code.  An example is provided with ClassForNamePlugin.java (temporary.)  A shipping byte code optimizer plugin will be supplied later.  Additional changes to the plugin API will supply a cross resource resolver that will make byte code optimizing code even simpler.
> http://cr.openjdk.java.net/~jlaskey/8160829/webrev/index.html
> https://bugs.openjdk.java.net/browse/JDK-8160829

+1 on removing the more general meta-kind of plugin.

Since ClassForNamePlugin.java is temporary i will resist commenting on the implementation approach, which as you might guess focuses on the generation of the Map<String, ModuleEntry> :-)


More information about the core-libs-dev mailing list