jrtfs supports forwarding to a jrtfs in a target VM

Alan Bateman Alan.Bateman at oracle.com
Thu Jan 7 17:36:49 UTC 2016


On 07/01/2016 16:28, Sundararajan Athijegannathan wrote:
> It will be available in the regular JDK 9 EA builds once the module 
> system goes into JDK 9.
Right, and in the mean-time then the JDK 9 EA with Project Jigsaw builds 
[1] will have it. We're trying to get these builds to be published to 
the java.net site on a more regular basis.

>
> As for as jdk 8 is concerned, there is nothing to be done actually. A 
> tool running on jdk8, has to put jrt-fs.jar from the target jdk9 
> directory in it's classpath and get jrt FileSystem instance. With 
> that, the tool can read .jimage contents of that target jdk9 image.
Yes, although an IDE or other tool running on JDK 8 is more likely to 
create a URLClassLoader to load from jrt-fs.jar and use the FileSystem 
API to load the file system provider.

-Alan


[1] https://jdk9.java.net/jigsaw/


More information about the jigsaw-dev mailing list