JDK-8211148 missing in jdk11u
Lindenmaier, Goetz
goetz.lindenmaier at sap.com
Wed Oct 6 14:19:58 UTC 2021
Hi,
While working on "8245147: Refactor and improve utility of test/langtools/tools/javac/versions/Versions.java<https://github.com/openjdk/jdk11u-dev/pull/486>",
I figured that jdk11u accepts Java 11 code even if -source 10 is set.
I found "JDK-8211148<https://bugs.openjdk.java.net/browse/JDK-8211148> var in implicit lambdas shouldn't be accepted
for source < 11" is not backported to 11.
Is there a good reason for this, or is this just an oversight?
Best regards,
Goetz.
https://bugs.openjdk.java.net/browse/JDK-8211148
https://bugs.openjdk.java.net/browse/JDK-8245147
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20211006/b5b97cfb/attachment.htm>
More information about the compiler-dev
mailing list