hg: jdk8/tl/langtools: 8008762: Type annotation on inner class in anonymous class show up as regular type annotations; ...

eric.mccorkle at oracle.com eric.mccorkle at oracle.com
Fri Oct 11 00:12:41 UTC 2013


Changeset: b1b4a6dcc282
Author:    emc
Date:      2013-10-10 20:12 -0400
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/b1b4a6dcc282

8008762: Type annotation on inner class in anonymous class show up as regular type annotations
8015257: type annotation with TYPE_USE and FIELD attributed differently if repeated.
8013409: test failures for type annotations
Summary: Fixes to address some problems in type annotations
Reviewed-by: jfranck, jjg

! src/share/classes/com/sun/tools/javac/code/Attribute.java
! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/jvm/Gen.java
+ test/tools/javac/annotations/typeAnnotations/classfile/TestAnonInnerClasses.java
+ test/tools/javac/annotations/typeAnnotations/classfile/testanoninner.template
! test/tools/javac/annotations/typeAnnotations/failures/CantAnnotateStaticClass.java
! test/tools/javac/annotations/typeAnnotations/failures/CantAnnotateStaticClass.out
! test/tools/javac/annotations/typeAnnotations/newlocations/MultiCatch.java
! test/tools/javac/annotations/typeAnnotations/referenceinfos/MultiCatch.java




More information about the security-dev mailing list