< prev index next >

test/compiler/arraycopy/TestArrayCloneBadAssert.java

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

*** 23,36 **** /* * @test * @bug 8073792 * @summary assert broken when array size becomes known during igvn - * @run main/othervm -Xcomp -XX:CompileOnly=TestArrayCloneBadAssert.m TestArrayCloneBadAssert * */ public class TestArrayCloneBadAssert { static final int[] array = new int[5]; static int[] m(int[] arr) { --- 23,40 ---- /* * @test * @bug 8073792 * @summary assert broken when array size becomes known during igvn * + * @run main/othervm -Xcomp + * -XX:CompileCommand=compileonly,compiler.arraycopy.TestArrayCloneBadAssert::m + * compiler.arraycopy.TestArrayCloneBadAssert */ + package compiler.arraycopy; + public class TestArrayCloneBadAssert { static final int[] array = new int[5]; static int[] m(int[] arr) {
< prev index next >