Improve ordering (and number) of errors with type annotations This is causing @ignore of the following tests: test/tools/javac/annotations/typeAnnotations/failures/CantAnnotateStaticClass2.java test/tools/javac/annotations/typeAnnotations/failures/CantAnnotateStaticClass3.java test/tools/javac/annotations/typeAnnotations/newlocations/RepeatingTypeAnnotations.java test/tools/javac/warnings/suppress/TypeAnnotations.java And impacts the following test: test/tools/javac/warnings/suppress/T6480588.java