test/tools/javac/generics/InstanceOf1.java

Print this page

        

*** 25,35 **** * @test * @bug 4982096 5004321 * @summary the type in an instanceof expression must be reifiable * @author seligman * ! * @compile -source 1.5 InstanceOf1.java */ public class InstanceOf1 { boolean m() { return this.getClass() instanceof Class<?>; --- 25,35 ---- * @test * @bug 4982096 5004321 * @summary the type in an instanceof expression must be reifiable * @author seligman * ! * @compile InstanceOf1.java */ public class InstanceOf1 { boolean m() { return this.getClass() instanceof Class<?>;