Multi release jars on boot classpath
Alan Bateman
Alan.Bateman at oracle.com
Tue May 31 21:12:50 UTC 2016
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
More information about the jigsaw-dev
mailing list