jrtfs supports forwarding to a jrtfs in a target VM
Sundararajan Athijegannathan
sundararajan.athijegannathan at oracle.com
Thu Jan 7 16:28:39 UTC 2016
It will be available in the regular JDK 9 EA builds once the module
system goes into JDK 9.
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.
Thanks,
-Sundar
On 1/7/2016 9:28 PM, Jayaprakash Arthanareeswaran wrote:
>
> Good news, thanks!
>
> Will this be available in non Jigsaw builds too? And when can we
> expect this update in JDK 8?
>
> Regards,
> Jay
>
> Inactive hide details for Sundararajan Athijegannathan ---01/07/2016
> 06:07:17 PM---Hi, Cross JDK support for jrt file system haSundararajan
> Athijegannathan ---01/07/2016 06:07:17 PM---Hi, Cross JDK support for
> jrt file system has been added.
>
> From: Sundararajan Athijegannathan
> <sundararajan.athijegannathan at oracle.com>
> To: jigsaw-dev <jigsaw-dev at openjdk.java.net>
> Date: 01/07/2016 06:07 PM
> Subject: jrtfs supports forwarding to a jrtfs in a target VM
> Sent by: "jigsaw-dev" <jigsaw-dev-bounces at openjdk.java.net>
>
> ------------------------------------------------------------------------
>
>
>
> Hi,
>
> Cross JDK support for jrt file system has been added.
>
> http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/678cec00a4f4
> https://bugs.openjdk.java.net/browse/JDK-8066177
>
> With this change, jrt file system supports the following modes:
>
> 1. A tool running on JDK 8 can access a JDK 9 run-time image.
> 2. A tool running on JDK 9 can access its own run-time image.
> 3. A tool on JDK 9 can access a *different* JDK 9 run-time image -
> perhaps a jlink produced image with fewer modules in it.
> Target JDK's home directory is specified via "java.home" property in Map
> passed to FileSystems.newFileSystem(URI, Map) method.
> (
> https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystems.html#newFileSystem-java.net.URI-java.util.Map-
> ).
>
> Thanks,
> -Sundar
>
>
>
More information about the jigsaw-dev
mailing list