hg: jdk7/tl/langtools: 6995200: JDK 7 compiler crashes when type-variable is inferred from expected primitive type

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Tue Nov 23 03:09:31 PST 2010


Changeset: 2536dedd897e
Author:    mcimadamore
Date:      2010-11-23 11:08 +0000
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/2536dedd897e

6995200: JDK 7 compiler crashes when type-variable is inferred from expected primitive type
Summary: 15.12.2.8 should use boxing when expected type in assignment context is a primitive type
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
! test/tools/javac/generics/inference/6638712/T6638712a.java
+ test/tools/javac/generics/inference/6995200/T6995200.java




More information about the security-dev mailing list