RFR: JDK-8309134: Augment test/langtools/tools/javac/versions/Versions.java for JDK 21 language changes
Jonathan Gibbons
jjg at openjdk.org
Tue May 30 21:14:55 UTC 2023
On Tue, 30 May 2023 20:13:37 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> Augment the Versions.java test in the usual way for new language changes.
test/langtools/tools/javac/versions/Versions.java line 309:
> 307: expectedPass(args, List.of("New7.java", "New8.java", "New10.java", "New11.java",
> 308: "New14.java", "New15.java", "New16.java", "New17.java"));
> 309: expectedFail(args, List.of("New21.java"));
Looks like extra space
test/langtools/tools/javac/versions/Versions.java line 581:
> 579:
> 580: /*
> 581: * Create a file with a new feature in 17, not in 16 : sealed classes
Update comment
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14229#discussion_r1210827084
PR Review Comment: https://git.openjdk.org/jdk/pull/14229#discussion_r1210828082
More information about the compiler-dev
mailing list