test/tools/javac/foreach/StaticBlock.java

Print this page

        

@@ -25,11 +25,11 @@
  * @test
  * @bug 4881171
  * @summary compiler crash (NullPointerException) with foreach in static context
  * @author gafter
  *
- * @compile -source 1.5 StaticBlock.java
+ * @compile StaticBlock.java
  */
 
 public class StaticBlock {
     private static String[] numerals =
     {"einz", "zwei", "drei", "vier"};