< prev index next >

test/compiler/escapeAnalysis/Test6895383.java

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

*** 25,43 **** /** * @test * @bug 6895383 * @summary JCK test throws NPE for method compiled with Escape Analysis * ! * @run main/othervm -Xcomp Test */ ! import java.util.*; ! import java.util.concurrent.*; ! public class Test { public static void main(String argv[]) { ! Test test = new Test(); test.testRemove1_IndexOutOfBounds(); test.testAddAll1_IndexOutOfBoundsException(); } public void testRemove1_IndexOutOfBounds() { --- 25,45 ---- /** * @test * @bug 6895383 * @summary JCK test throws NPE for method compiled with Escape Analysis * ! * @run main/othervm -Xcomp compiler.escapeAnalysis.Test6895383 */ ! package compiler.escapeAnalysis; ! import java.util.LinkedList; ! import java.util.concurrent.CopyOnWriteArrayList; ! ! public class Test6895383 { public static void main(String argv[]) { ! Test6895383 test = new Test6895383(); test.testRemove1_IndexOutOfBounds(); test.testAddAll1_IndexOutOfBoundsException(); } public void testRemove1_IndexOutOfBounds() {
< prev index next >