changeset 19631:67cc686edb03

Missing "_" from list not allowed in identifier
author alanb
date Fri, 28 Apr 2017 18:56:15 +0100
parents 7865999d80d9
children a20dcd573138
files src/java.base/share/classes/jdk/internal/module/Checks.java test/java/lang/module/ModuleDescriptorTest.java
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/jdk/internal/module/Checks.java	Fri Apr 28 14:12:38 2017 +0100
+++ b/src/java.base/share/classes/jdk/internal/module/Checks.java	Fri Apr 28 18:56:15 2017 +0100
@@ -257,6 +257,7 @@
             "while",
             "true",
             "false",
-            "null"
+            "null",
+            "_"
     );
 }
--- a/test/java/lang/module/ModuleDescriptorTest.java	Fri Apr 28 14:12:38 2017 +0100
+++ b/test/java/lang/module/ModuleDescriptorTest.java	Fri Apr 28 18:56:15 2017 +0100
@@ -108,6 +108,8 @@
             { "x.false.x",      null },
             { "x.null.x",       null },
 
+            { "_",              null },
+
         };
     }