On 31/05/2016 20:53, Michael Rasmussen wrote:
Hi
I was looking over the specs for the multi release jars, and couldn't find
any information if this applied to jars on boot classpath as well (for
instance javaagents that add themselves there). All the docs and tasks
seems to focus on URLClassLoader, JarFile, etc.
So will multi release jars pick the right class if on boot classloader (ie
loaded from null classloader/jvm)?
This is question for JEP 238 so including Steve Drach for the definite
answer. To my knowledge, there is no support for this. In general then
it wouldn't be common to deploy libraries with -Xbootclasspath/a. Yes,
agents might want to do this but this is somewhat niche area.
-Alan