--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java Mon Sep 22 14:55:14 2014 +0200
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java Mon Sep 22 17:09:33 2014 -0400
@@ -970,7 +970,7 @@
this(
flags,
name,
- new ClassType(Type.noType, null, null, Type.noAnnotations),
+ new ClassType(Type.noType, null, null),
owner);
this.type.tsym = this;
}
@@ -1007,7 +1007,7 @@
if (erasure_field == null)
erasure_field = new ClassType(types.erasure(type.getEnclosingType()),
List.<Type>nil(), this,
- type.getAnnotationMirrors());
+ type.getMetadata());
return erasure_field;
}