< prev index next >
test/compiler/loopopts/CountedLoopProblem.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
@@ -24,16 +24,18 @@
/**
* @test
* @bug 8072753
* @summary Inner loop induction variable increment occurs before compare which causes integer overflow
- * @run main/othervm CountedLoopProblem
+ * @run main/othervm compiler.loopopts.CountedLoopProblem
*
*/
-import java.util.*;
+package compiler.loopopts;
+import java.util.Random;
+
public class CountedLoopProblem {
public static void main(String[] args) throws Exception {
Random r = new Random(42);
int x = 0;
try {
< prev index next >