hg: jdk8/tl/langtools: 8022765: Compiler crashes with exception on wrong usage of an annotation.

jan.lahoda at oracle.com jan.lahoda at oracle.com
Fri Sep 27 15:29:51 UTC 2013


Changeset: b7d8b71e1658
Author:    jlahoda
Date:      2013-09-27 17:28 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/b7d8b71e1658

8022765: Compiler crashes with exception on wrong usage of an annotation.
Summary: Error recovery for incorrect annotation attribute values - ensure the values are always attributed appropriately
Reviewed-by: jfranck, jjg

! src/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/annotations/neg/8022765/T8022765.java
+ test/tools/javac/annotations/neg/8022765/T8022765.out
+ test/tools/javac/annotations/neg/8022765/VerifyAnnotationsAttributed.java




More information about the security-dev mailing list