test/tools/javac/InvalidIntfCast.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4023359 4948130
  * @summary The compiler should detect an invalid cast between interfaces.
  * @author turnidge
  *
- * @compile -source 1.5 InvalidIntfCast.java
+ * @compile InvalidIntfCast.java
  */
 
 interface I {
     void method();
 }