An anonymous class is never final
(§8.1.1.2).
JLS 11 - 15.9.5. Anonymous Class Declarations
I didn't know the reasoning behind this, but, according to @Hulk's answer and this bug report, it seems the specification of previous versions slightly misled us saying that anonymous classes are final.