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

wdietl at gmail.com wdietl at gmail.com
Thu Sep 6 18:02:47 PDT 2012


Changeset: ba5993cfd911
Author:    wmdietl
Date:      2012-09-06 12:38 -0700
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/ba5993cfd911

Update to isDeclarationAnnotation that treat as declaration annotation if any of the @Target entries is for declarations. This must be reviewed again, taking more usages into account.

! src/share/classes/com/sun/tools/doclets/internal/toolkit/util/Util.java

Changeset: 1917edc8ffee
Author:    wmdietl
Date:      2012-09-06 12:39 -0700
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/1917edc8ffee

Comment out check for declaration annotations. This needs to be reviewed with more test cases for type annotations.

! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java

Changeset: 142f0ca9c8bc
Author:    wmdietl
Date:      2012-09-06 14:03 -0700
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/142f0ca9c8bc

Whitespace fix only.

! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java

Changeset: 32fb37bf41bb
Author:    wmdietl
Date:      2012-09-06 14:03 -0700
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/32fb37bf41bb

Provide a method to set the source map.

! src/share/classes/com/sun/tools/javac/util/Log.java

Changeset: 0d72843cad2d
Author:    wmdietl
Date:      2012-09-06 14:04 -0700
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/0d72843cad2d

Propagate the source map when changing over logs.

! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java

Changeset: 1fa846ddafb4
Author:    wmdietl
Date:      2012-09-06 14:04 -0700
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/1fa846ddafb4

Improve error message.

! test/tools/javac/api/EndPositions.java

Changeset: 7e726157b6b2
Author:    wmdietl
Date:      2012-09-06 17:42 -0700
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/7e726157b6b2

Remove dependency on Java 7 class java.util.Objects.

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

Changeset: e4f13f115af1
Author:    wmdietl
Date:      2012-09-06 17:43 -0700
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/e4f13f115af1

Correctly handle the start position of annotations on arrays.

! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java



More information about the type-annotations-dev mailing list