author | hseigel |
Wed, 02 Mar 2016 23:48:41 +0000 | |
changeset 36397 | c487ced7231c |
parent 30721 | 1024d425d97e |
permissions | -rw-r--r-- |
/* * @test /nodynamiccopyright/ * @ bug * @summary the type in an instanceof expression must be reifiable * @author seligman * * @compile/fail/ref=InstanceOf3.out -XDrawDiagnostics InstanceOf3.java */ public class InstanceOf3 { boolean m() { return this.getClass() instanceof Class<? extends InstanceOf3>; } }