Should we build jrt-fs.jar again with the "Build JDK" ?

Andrew Leonard anleonar at redhat.com
Mon Sep 18 13:51:02 UTC 2023


Thanks for the clarification Alan.

To ensure the reproducibility of the whole JDK image regardless of the
specific bootjdk used, would it make sense once the "Build JDK" has been
built, we re-build jrt-fs.jar again using the "Build JDK" ? Thus jrt-fs.jar
will be consistent with the rest of the image in terms of what it is
compiled with.

Cheers
Andrew


On Fri, Sep 15, 2023 at 9:49 AM Alan Bateman <Alan.Bateman at oracle.com>
wrote:

> On 15/09/2023 09:09, Andrew Leonard wrote:
> > Hi,
> >
> > jrt-fs.jar is the only jar that is not built (or re-built) with the
> > "Build JDK", and I was wondering why?
> >
>
> The JAR file contains the "jrt" file system provider for the runtime.
> IDE or other tools running on JDK 8/11/etc. need to be able to create a
> FileSystem to access the classes/resources in the run-time image. These
> classes are loaded from that JAR file.
>
> -Alan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20230918/fdae7b1d/attachment-0001.htm>


More information about the core-libs-dev mailing list