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

wdietl at gmail.com wdietl at gmail.com
Tue Nov 19 15:21:08 PST 2013


Changeset: 4788eb38cac5
Author:    emc
Date:      2013-11-11 09:47 -0500
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/4788eb38cac5

8027439: Compile-time error in the case of ((Integer[] & Serializable)new Integer[1]).getClass()
8027253: javac illegally accepts array as bound
Summary: backing out change allowing arrays in intersection types
Reviewed-by: vromero

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
- test/tools/javac/ArraysInIntersections.java
- test/tools/javac/InferArraysInIntersections.java
- test/tools/javac/diags/examples/InterfaceOrArrayExpected.java
! test/tools/javac/generics/typevars/6680106/T6680106.out

Changeset: f3ca12d680f3
Author:    jfranck
Date:      2013-11-11 17:26 +0100
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/f3ca12d680f3

8027375: javac asserts on nested erroneous annotations
Summary: make sure JCAnnotation trees have type != null before annotation processing
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Annotate.java
+ test/tools/javac/annotations/testCrashNestedAnnos/TestCrashNestedAnnos.java
+ test/tools/javac/annotations/testCrashNestedAnnos/TestCrashNestedAnnos.out

Changeset: f90d88913c5f
Author:    sogoel
Date:      2013-11-13 16:36 -0800
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/f90d88913c5f

8025113: Convert 7 tools TryWithResources tests to jtreg format
Reviewed-by: darcy, jjg

+ test/tools/javac/TryWithResources/ResDeclOutsideTry.java
+ test/tools/javac/TryWithResources/ResDeclOutsideTry.out
+ test/tools/javac/TryWithResources/ResInNestedExpr.java
+ test/tools/javac/TryWithResources/ResourceNameConflict.java
+ test/tools/javac/TryWithResources/ResourceNameConflict.out
+ test/tools/javac/TryWithResources/ResourceRedecl.java
+ test/tools/javac/TryWithResources/ResourceRedecl.out
+ test/tools/javac/TryWithResources/ResourceShadow.java
+ test/tools/javac/TryWithResources/TestTwr09.java

Changeset: 24eaf41a3974
Author:    emc
Date:      2013-11-14 12:32 -0500
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/24eaf41a3974

8028282: Remove @ignore from test langtools/test/tools/javac/T7042623.java
Summary: Remove @ignore from test
Reviewed-by: jjg

! test/tools/javac/T7042623.java

Changeset: e79d6425f1c4
Author:    vromero
Date:      2013-11-14 19:28 +0000
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/e79d6425f1c4

8026963: type annotations code crashes for code with erroneous trees
Reviewed-by: jjg, jlahoda

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/T8026963/TypeAnnotationsCrashWithErroneousTreeTest.java
+ test/tools/javac/T8026963/TypeAnnotationsCrashWithErroneousTreeTest.out

Changeset: 5ae66d372d57
Author:    bpatel
Date:      2013-11-14 13:47 -0800
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/5ae66d372d57

8025524: javadoc does not correctly locate constructors for nested classes
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javadoc/ConstructorDocImpl.java
! test/com/sun/javadoc/testAnchorNames/TestAnchorNames.java
+ test/com/sun/javadoc/testConstructors/TestConstructors.java
+ test/com/sun/javadoc/testConstructors/pkg1/Outer.java
! test/tools/javadoc/generics/genericInnerAndOuter/expected.out

Changeset: d4cbb671de1c
Author:    vromero
Date:      2013-11-15 11:08 +0000
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/d4cbb671de1c

8026231: Look at 'static' flag when checking method references
Reviewed-by: jjg, dlsmith

! src/share/classes/com/sun/tools/javac/code/Kinds.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! test/tools/javac/lambda/MethodReference22.java
! test/tools/javac/lambda/MethodReference22.out
! test/tools/javac/lambda/MethodReference51.java
! test/tools/javac/lambda/MethodReference68.out
+ test/tools/javac/lambda/MethodReference73.java
+ test/tools/javac/lambda/MethodReference73.out
! test/tools/javac/lambda/TargetType60.java
! test/tools/javac/lambda/TargetType60.out

Changeset: 8043b9cf31ab
Author:    ihse
Date:      2013-11-04 11:08 +0100
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/8043b9cf31ab

8027566: Remove the old build system
Reviewed-by: erikj, tbell

+ make/BuildLangtools.gmk
! make/Makefile
- make/jprt.properties
- makefiles/BuildLangtools.gmk
- makefiles/Makefile

Changeset: f42a22e2b2cd
Author:    kizune
Date:      2013-11-19 22:14 +0400
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/f42a22e2b2cd

6726154: javadoc generated with incorrect version in comment
Reviewed-by: jjg, bpatel, erikj, tbell

! make/BuildLangtools.gmk
! src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java
! src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java

Changeset: df56bcf06bb1
Author:    wmdietl
Date:      2013-11-19 15:20 -0800
URL:       http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/df56bcf06bb1

Automated merge with http://hg.openjdk.java.net/jdk8/tl/langtools

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Annotate.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties



More information about the type-annotations-dev mailing list