8190315: Test tools/javac/tree/NoPrivateTypesExported.java failing
Constant annotation attribute values should be allowed. Reviewed-by: vromero
This commit is contained in:
parent
3d220f8d74
commit
de261554f7
@ -54,7 +54,6 @@ tools/javac/annotations/typeAnnotations/referenceinfos/Lambda.java
|
||||
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
|
||||
|
||||
###########################################################################
|
||||
#
|
||||
|
@ -206,6 +206,33 @@ public class NoPrivateTypesExported extends JavacTestingAbstractProcessor {
|
||||
}
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user