hg: nio/nio/langtools: 9 new changesets
alan.bateman at sun.com
alan.bateman at sun.com
Sat Oct 25 08:44:49 PDT 2008
Changeset: 6508d7e812e1
Author: mcimadamore
Date: 2008-10-23 17:59 +0100
URL: http://hg.openjdk.java.net/nio/nio/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/nio/nio/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/nio/nio/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/nio/nio/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/nio/nio/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/nio/nio/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/nio/nio/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/nio/nio/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/nio/nio/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
More information about the nio-dev
mailing list