hg: jdk7/jdk7/langtools: 13 new changesets

tim.bell at sun.com tim.bell at sun.com
Fri Nov 7 19:41:39 PST 2008


Changeset: 6508d7e812e1
Author:    mcimadamore
Date:      2008-10-23 17:59 +0100
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/6508d7e812e1

6732484: Bound error on wildcard code
Summary: Check.checkExtends should cope with captured type-variables
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/wildcards/T6732484.java

Changeset: 4d2d8b6459e1
Author:    mcimadamore
Date:      2008-10-23 17:59 +0100
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/4d2d8b6459e1

6711619: javac doesn't allow access to protected members in intersection types
Summary: Accordingly to new accessibility rules all members of intersection types (but private ones) should be accessible
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! test/tools/javac/generics/6531090/T6531090b.java
+ test/tools/javac/generics/6711619/T6711619a.java
+ test/tools/javac/generics/6711619/T6711619a.out
+ test/tools/javac/generics/6711619/T6711619b.java
+ test/tools/javac/generics/6711619/T6711619b.out

Changeset: db77bf6adb53
Author:    mcimadamore
Date:      2008-10-23 18:00 +0100
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/db77bf6adb53

6487370: javac incorrectly gives ambiguity warning with override-equivalent abstract inherited methods
Summary: Javac should not compare erased return types when checking for ambiguity errors during overload resolution
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/generics/6487370/T6487370.java

Changeset: 433ee48257c0
Author:    mcimadamore
Date:      2008-10-23 18:10 +0100
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/433ee48257c0

6548436: Incorrect inconvertible types error
Summary: Types.rewrite quantifiers should cope with captured type-variables properly
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/cast/6548436/T6548436a.java
+ test/tools/javac/cast/6548436/T6548436b.java
+ test/tools/javac/cast/6548436/T6548436c.java
+ test/tools/javac/cast/6548436/T6548436d.java

Changeset: c6e3fc6dda61
Author:    mcimadamore
Date:      2008-10-23 18:29 +0100
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/c6e3fc6dda61

6557954: Inner class type parameters doesn't get substituted when checking type well-formedness
Summary: Validator.visitTypeApply should substitute all formal typevars with actual parameters
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/T6557954.java

Changeset: 5e54a59bcee7
Author:    mcimadamore
Date:      2008-10-24 12:45 +0100
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/5e54a59bcee7

6680106: StackOverFlowError for Cyclic inheritance in TypeParameters with ArrayType Bounds
Summary: Javac ends up in an infinite loop while attributing mutually referring array type-parameter bounds
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/generics/typevars/6680106/T6680106.java
+ test/tools/javac/generics/typevars/6680106/T6680106.out

Changeset: a23e1dc02698
Author:    mcimadamore
Date:      2008-10-24 12:46 +0100
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/a23e1dc02698

6746184: javac fails to compile call to public varargs method
Summary: javac's resolution process should go through all steps described in JLS 15.12.2.2
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/varargs/T6746184.java

Changeset: ddd75a295501
Author:    mcimadamore
Date:      2008-10-24 12:46 +0100
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/ddd75a295501

6758789: Some method resolution diagnostic should be improved
Summary: Recent work on diagnostics left out some resolution corner cases
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/api/Formattable.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/6758789/T6758789a.java
+ test/tools/javac/6758789/T6758789a.out
+ test/tools/javac/6758789/T6758789b.java
+ test/tools/javac/6758789/T6758789b.out
! test/tools/javac/generics/inference/6718364/T6718364.out

Changeset: 638d45788c9e
Author:    mcimadamore
Date:      2008-10-24 12:46 +0100
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/638d45788c9e

6762569: Javac crashes with AssertionError in Types.containedBy
Summary: Types.containedBy should be more liberal with UndetVars
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
- test/tools/javac/generics/wildcards/6651719/T6651719b.java
+ test/tools/javac/generics/wildcards/6762569/T6762569a.java
+ test/tools/javac/generics/wildcards/6762569/T6762569b.java

Changeset: 8d7fa40da0eb
Author:    tbell
Date:      2008-10-24 20:47 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/8d7fa40da0eb

Merge

- test/tools/javac/generics/wildcards/6651719/T6651719b.java

Changeset: 5ebe90e0afff
Author:    jjg
Date:      2008-10-27 14:25 -0700
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/5ebe90e0afff

6764226: ListTest fails on javap output with bad characters
Reviewed-by: darcy

! test/tools/javap/ListTest.java

Changeset: 4f7b344a1ce0
Author:    mcimadamore
Date:      2008-10-28 14:05 +0000
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/4f7b344a1ce0

6763518: Impossible to suppress raw-type warnings
Summary: Check.validate(Type) should be invoked after -Xlint is augmented in Attr.visitVarDef
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/6304921/T6304921.out
+ test/tools/javac/warnings/T6763518.java

Changeset: 32e309883246
Author:    tbell
Date:      2008-11-07 11:45 -0800
URL:       http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/32e309883246

Merge





More information about the jdk7-dev mailing list