test/tools/javac/generics/wildcards/pos/InstanceOf.java
Print this page
*** 25,35 ****
* @test
* @bug 4892571
* @summary generics: type cast with instance of
* @author gafter
*
! * @compile -source 1.5 -Werror InstanceOf.java
*/
class InstanceOf<T> {
static interface I1<T> {
public T[] toArray();
--- 25,35 ----
* @test
* @bug 4892571
* @summary generics: type cast with instance of
* @author gafter
*
! * @compile -Werror InstanceOf.java
*/
class InstanceOf<T> {
static interface I1<T> {
public T[] toArray();