-Xpatch with jar, jimage, or other non-exploded format?

Michael Rasmussen michael.rasmussen at zeroturnaround.com
Fri Dec 4 19:56:47 UTC 2015


The usage of -Xpatch is to be a replacement for -Xbootclasspath/p, to
enable to patch boot CP classes, but at the moment it only seems to
support pointing to an "exploded" directory, containing the individual
.class files.

Are there any plans to extend this to also support some kind of container
format, for instance .jar or even .jimage?

For systems which relies on patching more than just a few classes,
exploded mode becomes rather clumpsy very quickly. The JVM is perfectly
capable of reading from these container formats, so why was the -Xpatch
option limited to exploded directory?

/Michael


More information about the jigsaw-dev mailing list