langtools/src/share/classes/com/sun/tools/javac/comp/Check.java
changeset 19128 b7e4f087369e
parent 18920 5111c1aa3ecd
child 19492 767d7330011f
--- a/langtools/src/share/classes/com/sun/tools/javac/comp/Check.java	Thu Jul 25 14:47:43 2013 +0100
+++ b/langtools/src/share/classes/com/sun/tools/javac/comp/Check.java	Thu Jul 25 14:49:16 2013 +0100
@@ -2997,7 +2997,8 @@
         for (Scope.Entry e = a.annotationType.type.tsym.members().elems;
                 e != null;
                 e = e.sibling)
-            if (e.sym.kind == MTH && e.sym.name != names.clinit)
+            if (e.sym.kind == MTH && e.sym.name != names.clinit &&
+                    (e.sym.flags() & SYNTHETIC) == 0)
                 members.add((MethodSymbol) e.sym);
 
         // remove the ones that are assigned values