RFR JDK-8129547: Excess entries in BootstrapMethods with the same (bsm, bsmKind, bsmStaticArgs), but different dynamicArgs
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Fri Aug 21 17:58:02 UTC 2015
Hello,
This is a fix for:
https://bugs.openjdk.java.net/browse/JDK-8129547
which has been discussed on this list recently. The problem is sometimes
javac generates duplicate BSM entries in the bootstrap method attribute,
due to the fact that the equals/hashing function for such entries takes
into account the invokedType while it shouldn't.
A webrev with the fix is here:
http://cr.openjdk.java.net/~mcimadamore/8129547/
Feedback welcome.
Cheers
Maurizio
More information about the compiler-dev
mailing list