Clarification on JDK-8038975
Paul Govereau
paul.govereau at oracle.com
Tue Jun 3 20:35:10 UTC 2014
Hello,
I have recently fixed
https://bugs.openjdk.java.net/browse/JDK-8038975 .
Which is a difference in access enforcement for inner classes depending on if
an enhanced-for is used or not.
However, now the reviewers and I are having doubts that this is a bug. Perhaps
javac is correctly handling the enhanced-for and the "diminished" for is not
handled correctly.
Can anyone help clarify the spec in regard to this issue?
Thanks,
Paul
More information about the compiler-dev
mailing list