RFR: 8264306: Non deterministic generation of java/lang/invoke/MemberName.class

Aleksey Shipilev shade at openjdk.java.net
Tue Mar 30 07:28:42 UTC 2021


On Tue, 30 Mar 2021 06:19:22 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> When hoisting binding variables to the outer scope, we should use `LinkedHashMap` instead of `HashMap`, so that `javac` produces reproducible classfiles.

This makes sense to me (and it looks trivial).

-------------

Marked as reviewed by shade (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3257


More information about the compiler-dev mailing list