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(); simple example: package pkg; public class Agent { public static void premain(String args, Instrumentation ins) { new Object() {}; } } and then in manifest have: Premain-Class: pkg.Agent Boot-Class-Path: agent.jar Regards /Michael