JDK-8211148 missing in jdk11u
Vicente Romero
vicente.romero at oracle.com
Wed Oct 6 15:58:29 UTC 2021
Hi,
On 10/6/21 10:19 AM, Lindenmaier, Goetz wrote:
>
> 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?
>
I don't remember if it was discussed or not backporting this to 11, it
could perfectly be an oversight
> Best regards,
>
> Goetz.
>
> https://bugs.openjdk.java.net/browse/JDK-8211148
> <https://bugs.openjdk.java.net/browse/JDK-8211148>
>
> https://bugs.openjdk.java.net/browse/JDK-8245147
> <https://bugs.openjdk.java.net/browse/JDK-8245147>
>
Thanks,
Vicente
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20211006/3dc75513/attachment-0001.htm>
More information about the compiler-dev
mailing list