< prev index next >
test/compiler/codegen/Test6935535.java
Print this page
*** 24,37 ****
/**
* @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");
}
--- 24,39 ----
/**
* @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");
}
< prev index next >