On 23/10/2019 08:16, Jie Fu wrote:
Hi all,

JBS:    https://bugs.openjdk.java.net/browse/JDK-8232864
Webrev: http://cr.openjdk.java.net/~jiefu/8232864/webrev.00/

To find out how to reproduce this bug, please refer to the JBS.

To keep things sorted in a deterministic order, current implementation seems to be dependent on a default trace file [1] (default_jli_trace.txt, which is generated during building the jdk image [2]).
However, not all images will generate such a trace file.
For example, when cds is disabled, default_jli_trace.txt won't be generated at all. If the trace file doesn't exist, classes generated by GenerateJLIClassesPlugin.java will not be sorted in a deterministic order.
JLinkReproducibleTest is the test to check that jlink creates reproducable images. Would this test have caught this if it were run with CDS disables? I'm just wondering if we need to add more run modes.

-Alan

Reply via email to