Skip to content

Commit

Permalink
8246222: Rename javac test T6395981.java to be more informative
Browse files Browse the repository at this point in the history
Reviewed-by: mdoerr
Backport-of: be278bc
  • Loading branch information
Amos Shi authored and GoeLin committed Jan 30, 2024
1 parent 6360095 commit c9a30d0
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
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

1 comment on commit c9a30d0

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.