hg: jdk8/tl/langtools: 8021339: Compile-time error during casting array to intersection

eric.mccorkle at oracle.com eric.mccorkle at oracle.com
Tue Oct 1 21:43:01 UTC 2013


Changeset: de1c5dbe6c28
Author:    emc
Date:      2013-10-01 17:41 -0400
URL:       http://hg.openjdk.java.net/jdk8/tl/langtools/rev/de1c5dbe6c28

8021339: Compile-time error during casting array to intersection
Summary: Add ability to have arrays in intersection types.
Reviewed-by: jjg, 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
+ test/tools/javac/ArraysInIntersections.java
+ test/tools/javac/InferArraysInIntersections.java
! test/tools/javac/generics/typevars/6680106/T6680106.out




More information about the security-dev mailing list