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

Reply via email to