RFR: 8232864: Classes generated by GenerateJLIClassesPlugin.java are not reproducable

Mandy Chung mandy.chung at oracle.com
Wed Oct 23 18:37:49 UTC 2019



On 10/23/19 12:16 AM, Jie Fu wrote:
> Hi all,
>
> JBS:    https://bugs.openjdk.java.net/browse/JDK-8232864
> Webrev: http://cr.openjdk.java.net/~jiefu/8232864/webrev.00/
>
speciesTypes, invokerTypes, callSiteTypes and dmhMethods are sorted
when the trace config is present (done in readTraceConfig).

An alternative to (re)sort the collections in the transform method
is to refactor initialize and readTraceConfig methods such that
these collections are ensured sorted (maybe consider adding
a builder class).

Can you also extend JLinkReproducibleTest to add the case when
the default trace config is not present?

Mandy




More information about the core-libs-dev mailing list