hg: type-annotations/type-annotations/langtools: 3 new changesets

wdietl at gmail.com wdietl at gmail.com
Mon Feb 25 17:12:29 PST 2013


Changeset: 8ac9188d174b
Author:    wmdietl
Date:      2013-02-25 17:09 -0800
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/8ac9188d174b

Set type_index for casts that are not on an intersection type to zero.

! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java

Changeset: 9ec2520c8016
Author:    wmdietl
Date:      2013-02-25 17:10 -0800
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/9ec2520c8016

Remove unused import.

! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java

Changeset: 141987ea3421
Author:    wmdietl
Date:      2013-02-25 17:12 -0800
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/141987ea3421

Ensure that a TypeCompound is only created once per annotation, preventing duplicates appearing for lazy constant values.

! src/share/classes/com/sun/tools/javac/comp/Annotate.java
! test/tools/javac/annotations/typeAnnotations/failures/LazyConstantValue.java
+ test/tools/javac/annotations/typeAnnotations/failures/LazyConstantValue.out
! test/tools/javac/annotations/typeAnnotations/referenceinfos/Initializers.java



More information about the type-annotations-dev mailing list