1.1 --- a/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java Tue Jun 04 13:21:41 2013 +0100 1.2 +++ b/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java Tue Jun 04 14:17:50 2013 -0700 1.3 @@ -1896,12 +1896,11 @@ 1.4 JavaFileObject previousClassFile = currentClassFile; 1.5 try { 1.6 currentClassFile = classFile; 1.7 - Annotations annotations = sym.annotations; 1.8 List<Attribute.Compound> newList = deproxyCompoundList(l); 1.9 - if (annotations.pendingCompletion()) { 1.10 - annotations.setDeclarationAttributes(newList); 1.11 + if (sym.annotationsPendingCompletion()) { 1.12 + sym.setDeclarationAttributes(newList); 1.13 } else { 1.14 - annotations.append(newList); 1.15 + sym.appendAttributes(newList); 1.16 } 1.17 } finally { 1.18 currentClassFile = previousClassFile; 1.19 @@ -1935,7 +1934,7 @@ 1.20 try { 1.21 currentClassFile = classFile; 1.22 List<Attribute.TypeCompound> newList = deproxyTypeCompoundList(proxies); 1.23 - sym.annotations.setTypeAttributes(newList.prependList(sym.getRawTypeAttributes())); 1.24 + sym.setTypeAttributes(newList.prependList(sym.getRawTypeAttributes())); 1.25 } finally { 1.26 currentClassFile = previousClassFile; 1.27 }