On 04/12/2015 22:33, Michael Rasmussen wrote:
:
Using -Xbootclasspath/p I can patch any class on the null classloader,
but how do I use -Xpatch to patch classes in the unnamed module?
The boot class path is essentially gone. All the types in the platform
and JDK modules are in named modules. The only way to have types in the
unnamed module of the boot loader is -Xbootclasspath/a or JVM TI
AddToBootstrapClassLoaderSearch. Are you looking to patch your own agent
classes or concerned that you might be running in environments that use
-Xbootclasspath/a?
-Alan