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

Goetz Lindenmaier goetz at openjdk.java.net
Tue Oct 12 06:40:01 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.

This pull request has now been integrated.

Changeset: aa5d5f31
Author:    Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/aa5d5f31751c2d5ad453322871798a0055bee563
Stats:     151 lines in 1 file changed: 48 ins; 37 del; 66 mod

8245147: Refactor and improve utility of test/langtools/tools/javac/versions/Versions.java

Reviewed-by: mdoerr
Backport-of: 6cbf57aa377c3e6edf79f31927e5cea69ef90a1d

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

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


More information about the jdk-updates-dev mailing list