test/tools/javac/generics/InstanceOf2.java

Print this page

        

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