hg: jdk6/jdk6/langtools: 6507024: casting an array to a generic type results in a 'capture#69 of ?' type error

joe.darcy at oracle.com joe.darcy at oracle.com
Wed Mar 2 16:25:14 PST 2011


Changeset: 53c36ed62e32
Author:    mcimadamore
Date:      2008-05-30 10:42 +0100
URL:       http://hg.openjdk.java.net/jdk6/jdk6/langtools/rev/53c36ed62e32

6507024: casting an array to a generic type results in a 'capture#69 of ?' type error
Summary: Types.isSubtypeUnchecked() should handle type-variables subtyping properly
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/T6507024.java



More information about the jdk6-dev mailing list