8190315: Test tools/javac/tree/NoPrivateTypesExported.java failing
authorjlahoda
Wed, 01 Nov 2017 16:45:28 +0100
changeset 47482 4a35a00eb001
parent 47481 5a1afee9b9e2
child 47483 85331e73e1f4
child 47514 31c2e88afd3e
8190315: Test tools/javac/tree/NoPrivateTypesExported.java failing Summary: Constant annotation attribute values should be allowed. Reviewed-by: vromero
test/langtools/ProblemList.txt
test/langtools/tools/javac/tree/NoPrivateTypesExported.java
--- a/test/langtools/ProblemList.txt	Wed Nov 01 10:49:21 2017 +0800
+++ b/test/langtools/ProblemList.txt	Wed Nov 01 16:45:28 2017 +0100
@@ -54,7 +54,6 @@
 tools/javac/annotations/typeAnnotations/referenceinfos/NestedTypes.java         8057687    generic-all    emit correct byte code an attributes for type annotations
 tools/javac/warnings/suppress/TypeAnnotations.java                              8057683    generic-all    improve ordering of errors with type annotations
 tools/javac/modules/SourceInSymlinkTest.java                                    8180263    windows-all    fails when run on a subst drive
-tools/javac/tree/NoPrivateTypesExported.java                                    8190315    generic-all
 
 ###########################################################################
 #
--- a/test/langtools/tools/javac/tree/NoPrivateTypesExported.java	Wed Nov 01 10:49:21 2017 +0800
+++ b/test/langtools/tools/javac/tree/NoPrivateTypesExported.java	Wed Nov 01 16:45:28 2017 +0100
@@ -206,6 +206,33 @@
                 }
                 return null;
             }
+            @Override public Void visitBoolean(boolean b, Void p) {
+                return null;
+            }
+            @Override public Void visitByte(byte b, Void p) {
+                return null;
+            }
+            @Override public Void visitChar(char c, Void p) {
+                return null;
+            }
+            @Override public Void visitDouble(double d, Void p) {
+                return null;
+            }
+            @Override public Void visitFloat(float f, Void p) {
+                return null;
+            }
+            @Override public Void visitInt(int i, Void p) {
+                return null;
+            }
+            @Override public Void visitLong(long i, Void p) {
+                return null;
+            }
+            @Override public Void visitShort(short s, Void p) {
+                return null;
+            }
+            @Override public Void visitString(String s, Void p) {
+                return null;
+            }
             @Override protected Void defaultAction(Object o, Void p) {
                 error("Unexpected AnnotationValue: " + o.toString());
                 return super.defaultAction(o, p);