< prev index next >
test/compiler/c2/Test6897150.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
@@ -25,13 +25,15 @@
/**
* @test
* @bug 6897150
* @summary Hotspot optimises away a valid loop
*
- * @run main Test6897150
+ * @run main compiler.c2.Test6897150
*/
+package compiler.c2;
+
// Should be compiled with javac from JDK1.3 to get bytecode which shows the problem.
public class Test6897150 {
public static void main(String[] args) {
// This works
loopAndPrint(Integer.MAX_VALUE -1);
< prev index next >