1/*
2 * @test /nodynamiccopyright/
3 * @ bug
4 * @summary the type in an instanceof expression must be reifiable
5 * @author seligman
6 *
7 * @compile/fail/ref=InstanceOf3.out -XDrawDiagnostics  InstanceOf3.java
8 */
9
10public class InstanceOf3 {
11    boolean m() {
12        return this.getClass() instanceof Class<? extends InstanceOf3>;
13    }
14}
15