langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Attribute.java
changeset 26781 a786b07c7b91
parent 26532 aa84b6606229
child 31751 ec251536a004
--- 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() {