< prev index next >

test/compiler/reflection/ArrayNewInstanceOfVoid.java

Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke

@@ -23,12 +23,16 @@
 
 /*
  * @test
  * @bug 8029366
  * @summary ShouldNotReachHere error when creating an array with component type of void
+ *
+ * @run main compiler.reflection.ArrayNewInstanceOfVoid
  */
 
+package compiler.reflection;
+
 public class ArrayNewInstanceOfVoid {
     public static void main(String[] args) {
         for (int i = 0; i < 100_000; i++) {
             test();
         }
< prev index next >