hg: jdk9/dev/langtools: 8043984: Confusing (incorrect) error message on repeatable annotations

andreas.lundblad at oracle.com andreas.lundblad at oracle.com
Fri Apr 17 10:38:08 UTC 2015


Changeset: 4348bf94591c
Author:    alundblad
Date:      2015-04-17 12:37 +0200
URL:       http://hg.openjdk.java.net/jdk9/dev/langtools/rev/4348bf94591c

8043984: Confusing (incorrect) error message on repeatable annotations
Summary: Adjusted error mesage for repeating annotations
Reviewed-by: jfranck, dlsmith

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/annotations/repeatingAnnotations/RepeatingTargetNotAllowed.out
+ test/tools/javac/diags/examples/NonApplicableRepeatingAnno.java



More information about the jdk9-dev-changes mailing list