3789983e89
Reviewed-by: darcy, ihse
16 lines
310 B
Java
16 lines
310 B
Java
/*
|
|
* @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) ;
|
|
}
|
|
}
|