< prev index next >
test/compiler/escapeAnalysis/Test6895383.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
@@ -25,19 +25,21 @@
/**
* @test
* @bug 6895383
* @summary JCK test throws NPE for method compiled with Escape Analysis
*
- * @run main/othervm -Xcomp Test
+ * @run main/othervm -Xcomp compiler.escapeAnalysis.Test6895383
*/
-import java.util.*;
-import java.util.concurrent.*;
+package compiler.escapeAnalysis;
-public class Test {
+import java.util.LinkedList;
+import java.util.concurrent.CopyOnWriteArrayList;
+
+public class Test6895383 {
public static void main(String argv[]) {
- Test test = new Test();
+ Test6895383 test = new Test6895383();
test.testRemove1_IndexOutOfBounds();
test.testAddAll1_IndexOutOfBoundsException();
}
public void testRemove1_IndexOutOfBounds() {
< prev index next >