[jdk11u-dev] RFR: 8245147: Refactor and improve utility of test/langtools/tools/javac/versions/Versions.java

Goetz Lindenmaier goetz at openjdk.java.net
Mon Oct 11 06:25:41 UTC 2021


On Wed, 6 Oct 2021 13:13:58 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> I backport this for parity with 11.0.14-oracle.
> 
> I had to resolve some chunks due to context differences.
> Other places did not apply because there are only
> test cases up to 10 in the current test.
> I added the test cases New11 and New14, they seem 
> to make sense for 11 now.
> I had to undo the text blocks.
> 
> Unfortunately "8211148: var in implicit lambdas shouldn't be accepted
> for source < 11" is not in 11, so New11 can be compiled with 
> -source 10.  I commented out that test case. 
> Test is passing this way.

"8211148: var in implicit lambdas shouldn't be accepted for source < 11" was pushed to jdk11u-dev, so I updated the test to also check the difference between 10 and 11.

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/486


More information about the jdk-updates-dev mailing list