On 18/09/2023 14:51, Andrew Leonard wrote:
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.
The boot JDK will be JDK N-1, or the newly built JDK in the case of boot
cycle builds. It seems a bit of a stretch to have builds using different
tool chains to produce identical bits but maybe you mean something else.
In any case, for jrt-fs.jar the important thing is that they are
compiled to --release 8 (that might rev at some points) so that
IDEs/tools can open a target run-time image as a file system and access
the classes/resources.
-Alan.