diff -r 2fbe77c38802 -r a218f7befd55 src/share/classes/com/sun/tools/javac/code/Symbol.java --- a/src/share/classes/com/sun/tools/javac/code/Symbol.java Wed Jul 24 17:35:42 2013 -0700 +++ b/src/share/classes/com/sun/tools/javac/code/Symbol.java Thu Jul 25 11:02:27 2013 +0200 @@ -596,7 +596,7 @@ // This method is part of the javax.lang.model API, do not use this in javac code. public A[] getAnnotationsByType(Class annoType) { - return JavacAnnoConstructs.getAnnotations(this, annoType); + return JavacAnnoConstructs.getAnnotationsByType(this, annoType); } // TODO: getEnclosedElements should return a javac List, fix in FilteredMemberList