hg: type-annotations/type-annotations/langtools: 8 new changesets
wdietl at gmail.com
wdietl at gmail.com
Mon Jan 21 00:44:40 PST 2013
Changeset: fdc5fff3dd42
Author: wmdietl
Date: 2013-01-20 16:05 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/fdc5fff3dd42
Remove out-of-date comment in the parser and add tests to ensure
that old/C-style annotations on arrays (after the identifier/parameter list)
work.
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! test/tools/javac/annotations/typeAnnotations/newlocations/Fields.java
! test/tools/javac/annotations/typeAnnotations/newlocations/MethodReturnType.java
! test/tools/javac/annotations/typeAnnotations/referenceinfos/Fields.java
! test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodReturns.java
Changeset: f78527dd4957
Author: wmdietl
Date: 2013-01-20 16:19 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/f78527dd4957
Remove more out-of-date comments.
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
Changeset: bac6b23f066f
Author: wmdietl
Date: 2013-01-20 17:37 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/bac6b23f066f
Clean up description of insertAnnotationsToMostInner.
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
Changeset: 32b44464cfa3
Author: wmdietl
Date: 2013-01-20 17:52 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/32b44464cfa3
Ignore AnnotatedType in subtype test.
Remove previous way of achieving this, largely reducing
the number of differences.
! src/share/classes/com/sun/tools/javac/code/Types.java
Changeset: 7866ff1acedc
Author: wmdietl
Date: 2013-01-20 21:32 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/7866ff1acedc
The types in the subtype test can be both null. Compare for equality once
before to cover this strange case.
! src/share/classes/com/sun/tools/javac/code/Types.java
Changeset: 70c86f557dcf
Author: wmdietl
Date: 2013-01-20 21:37 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/70c86f557dcf
Move common code to TreeInfo. Remove dead code.
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java
Changeset: f319d26cae27
Author: wmdietl
Date: 2013-01-20 21:41 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/f319d26cae27
Use Assert.checkNonNull instead of throwing an AssertionError.
! src/share/classes/com/sun/tools/javac/comp/Check.java
Changeset: 87f5bd47ed52
Author: wmdietl
Date: 2013-01-20 22:31 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/87f5bd47ed52
Annotations on class literals are no longer allowed,
remove dead code that handled them.
! src/share/classes/com/sun/tools/javac/jvm/Gen.java
More information about the type-annotations-dev
mailing list