< prev index next >
test/compiler/c2/Test7041100.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 25,37 ****
/**
* @test
* @bug 7041100
* @summary The load in String.equals intrinsic executed before null check
*
! * @run main/othervm -Xbatch Test7041100 abc def
*/
public class Test7041100 {
static String n = null;
public static void main(String[] args) throws Exception {
for (int i = 0; i < 10000; i++) {
--- 25,39 ----
/**
* @test
* @bug 7041100
* @summary The load in String.equals intrinsic executed before null check
*
! * @run main/othervm -Xbatch compiler.c2.Test7041100 abc def
*/
+ package compiler.c2;
+
public class Test7041100 {
static String n = null;
public static void main(String[] args) throws Exception {
for (int i = 0; i < 10000; i++) {
< prev index next >