langtools/test/tools/javac/generics/RefEqual.java
author hseigel
Wed, 02 Mar 2016 23:48:41 +0000
changeset 36397 c487ced7231c
parent 30724 0686b5ea7958
permissions -rw-r--r--
Merge

/*
 * @test /nodynamiccopyright/
 * @bug 4948130
 * @summary casting conversion checks changed for covariant returns
 * @author gafter
 *
 * @compile/fail/ref=RefEqual.out -XDrawDiagnostics  RefEqual.java
 */

class RefEqual {
    {
        Class c = null;
        if (String.class != Integer.class) ;
    }
}