< prev index next >
test/compiler/codegen/Test6935535.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 24,38 ****
/**
* @test
* @bug 6935535
* @summary String.indexOf() returns incorrect result on x86 with SSE4.2
*
! * @run main/othervm -Xcomp Test
*/
! public class Test {
static int IndexOfTest(String str) {
return str.indexOf("1111111111111xx1x");
}
public static void main(String args[]) {
--- 24,40 ----
/**
* @test
* @bug 6935535
* @summary String.indexOf() returns incorrect result on x86 with SSE4.2
*
! * @run main/othervm -Xcomp compiler.codegen.Test6935535
*/
! package compiler.codegen;
+ public class Test6935535 {
+
static int IndexOfTest(String str) {
return str.indexOf("1111111111111xx1x");
}
public static void main(String args[]) {
< prev index next >