[jdk11u-dev] RFR: 8245147: Refactor and improve utility of test/langtools/tools/javac/versions/Versions.java
Goetz Lindenmaier
goetz at openjdk.java.net
Wed Oct 6 13:21:26 UTC 2021
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.
-------------
Commit messages:
- Backport 6cbf57aa377c3e6edf79f31927e5cea69ef90a1d
Changes: https://git.openjdk.java.net/jdk11u-dev/pull/486/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=486&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8245147
Stats: 153 lines in 1 file changed: 50 ins; 37 del; 66 mod
Patch: https://git.openjdk.java.net/jdk11u-dev/pull/486.diff
Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/486/head:pull/486
PR: https://git.openjdk.java.net/jdk11u-dev/pull/486
More information about the jdk-updates-dev
mailing list