NPE in InstrumentationImpl.transform()

Alan Bateman Alan.Bateman at oracle.com
Thu May 5 15:06:50 UTC 2016


On 05/05/2016 15:56, Michael Rasmussen wrote:
> Hi
>
> Loading classes from the unnamed boot module (for instance an agent) causes:
> *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding"
> with message transform method call failed at JPLISAgent.c line: 884
>
> Due to trying to dereference the null-loader in
> sun.instrument.InstrumentationImpl:439
> module = loader.getUnnamedModule();
Thanks for the bug report, this is regression in JDK 9. I suspect we 
don't have tests that exercise this with classes added to the boot 
loader with -Xbootclasspath/a. I've created JDK-8156147 [1] to track it.

-Alan

[1] https://bugs.openjdk.java.net/browse/JDK-8156147


More information about the jigsaw-dev mailing list