-Xpatch with jar, jimage, or other non-exploded format?
Alan Bateman
Alan.Bateman at oracle.com
Sat Dec 5 09:43:43 UTC 2015
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
More information about the jigsaw-dev
mailing list