Skip to content

Commit

Permalink
Backport be278bc
Browse files Browse the repository at this point in the history
  • Loading branch information
amosshi committed Jan 23, 2024
1 parent 03cd885 commit 7a6d7dc
Showing 1 changed file with 7 additions and 5 deletions.
Expand Up @@ -28,10 +28,12 @@
* @author Peter von der Ah\u00e9
* @modules java.compiler
* jdk.compiler
* @run main/fail T6395981
* @run main/fail T6395981 RELEASE_3 RELEASE_5 RELEASE_6
* @run main/fail T6395981 RELEASE_0 RELEASE_1 RELEASE_2 RELEASE_3 RELEASE_4 RELEASE_5 RELEASE_6
* @run main T6395981 RELEASE_3 RELEASE_4 RELEASE_5 RELEASE_6 RELEASE_7 RELEASE_8 RELEASE_9 RELEASE_10 RELEASE_11
* @run main/fail TestGetSourceVersions
* @run main/fail TestGetSourceVersions RELEASE_3 RELEASE_5 RELEASE_6
* @run main/fail TestGetSourceVersions RELEASE_0 RELEASE_1 RELEASE_2 RELEASE_3 RELEASE_4
* RELEASE_5 RELEASE_6
* @run main TestGetSourceVersions RELEASE_3 RELEASE_4 RELEASE_5 RELEASE_6 RELEASE_7
* RELEASE_8 RELEASE_9 RELEASE_10 RELEASE_11
*/

import java.util.EnumSet;
Expand All @@ -41,7 +43,7 @@
import javax.tools.ToolProvider;
import static javax.lang.model.SourceVersion.*;

public class T6395981 {
public class TestGetSourceVersions {
public static void main(String... args) {
Tool compiler = ToolProvider.getSystemJavaCompiler();
Set<SourceVersion> expected = EnumSet.noneOf(SourceVersion.class);
Expand Down

0 comments on commit 7a6d7dc

Please sign in to comment.