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

wdietl at gmail.com wdietl at gmail.com
Sun Feb 24 13:07:33 PST 2013


Changeset: 4e9f487137b9
Author:    wmdietl
Date:      2013-02-23 23:09 -0800
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/4e9f487137b9

T8008751: type-annotation on array level in nested class results in NPE.
This seems to happen during a deferred Attr. Guard against NPEs. Is there a nicer way to check for deferred Attr and stop work sooner?

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

Changeset: de1519daf492
Author:    wmdietl
Date:      2013-02-24 13:06 -0800
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/de1519daf492

8008762: Type annotation on inner class in anonymous class show up as regular annotations.
Fixed by visiting classes that are nested within anonymous classes, once just the signature and once the whole class.

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



More information about the type-annotations-dev mailing list