test/tools/javac/staticImport/Shadow.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 5017254
  * @summary compiler fails to shadow inapplicable method with static import
  * @author gafter
  *
- * @compile/fail -source 1.5 Shadow.java
+ * @compile/fail  Shadow.java
  */
 
 package shadow;
 
 import static shadow.T1.*;