On 28/05/2013 10:15, Otávio Gonçalves de Santana wrote:
I would suggest bring this clean-up to core-libs-dev. Also the bug for this in the bug database is:diff --git a/src/share/classes/java/lang/annotation/IncompleteAnnotationException.java b/src/share/classes/java/lang/annotation/IncompleteAnnotationException.java --- a/src/share/classes/java/lang/annotation/IncompleteAnnotationException.java +++ b/src/share/classes/java/lang/annotation/IncompleteAnnotationException.java @@ -55,9 +55,9 @@ public IncompleteAnnotationException( Class<? extends Annotation> annotationType, String elementName) { - super(annotationType.getName().toString() + + super(annotationType.getName() + " missing element " + - elementName.toString()); + elementName);this.annotationType = annotationType; this.elementName = elementName;
8015470: (ann) IncompleteAnnotationException does not need to call toString -Alan
