--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Attribute.java Mon Sep 22 14:55:14 2014 +0200
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Attribute.java Mon Sep 22 17:09:33 2014 -0400
@@ -124,8 +124,7 @@
: types.erasure(type);
return new Type.ClassType(types.syms.classType.getEnclosingType(),
List.of(arg),
- types.syms.classType.tsym,
- Type.noAnnotations);
+ types.syms.classType.tsym);
}
@DefinedBy(Api.LANGUAGE_MODEL)
public String toString() {