author | darcy |
Thu, 12 Jul 2018 14:13:15 -0700 | |
changeset 51047 | 860a3648c494 |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
/* * @test /nodynamiccopyright/ * @bug 4982096 5004321 * @summary the type in an instanceof expression must be reifiable * @author seligman * * @compile/fail/ref=InstanceOf2.out -XDrawDiagnostics InstanceOf2.java */ public class InstanceOf2 { boolean m() { return this.getClass() instanceof Class<InstanceOf2>; } }