I have just filed JDK-8023682 "Incorrect attributes emitted for anonymous class declaration" against javac. FYI the issues therein arise from the EG thread at http://mail.openjdk.java.net/pipermail/type-annotations-spec-experts/2013-August/000127.html Alex