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

Jan Lahoda jlahoda at openjdk.java.net
Tue Mar 30 06:29:03 UTC 2021


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

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

Commit messages:
 - 8264306: Non deterministic generation of java/lang/invoke/MemberName.class

Changes: https://git.openjdk.java.net/jdk/pull/3257/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3257&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8264306
  Stats: 121 lines in 2 files changed: 119 ins; 1 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3257.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3257/head:pull/3257

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


More information about the compiler-dev mailing list