Skip to content

Commit 6d3becb

Browse files
committed
8344861: Disable CheckJNICalls in tests until JDK-8344802 is fixed
Reviewed-by: coleenp
1 parent 15dbb6a commit 6d3becb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/jdk/java/lang/String/IndexOf.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* @summary test String indexOf() intrinsic
3535
* @requires vm.cpu.features ~= ".*avx2.*"
3636
* @requires vm.compiler2.enabled
37-
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:-TieredCompilation -XX:UseAVX=2 -XX:+UnlockDiagnosticVMOptions -XX:+EnableX86ECoreOpts IndexOf
37+
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:-TieredCompilation -XX:UseAVX=2 -XX:+UnlockDiagnosticVMOptions -XX:+EnableX86ECoreOpts -XX:-CheckJNICalls IndexOf
3838
*/
3939

4040
public class IndexOf {
@@ -255,4 +255,4 @@ IndexOf test4() { // Test needle at unreachable offset
255255
}
256256
return this;
257257
}
258-
}
258+
}

test/jdk/java/lang/StringBuffer/ECoreIndexOf.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* @summary Test indexOf and lastIndexOf
3535
* @requires vm.cpu.features ~= ".*avx2.*"
3636
* @requires vm.compiler2.enabled
37-
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+EnableX86ECoreOpts -XX:UseAVX=2 -Xbatch -XX:-TieredCompilation -XX:CompileCommand=dontinline,ECoreIndexOf.indexOfKernel ECoreIndexOf
37+
* @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+EnableX86ECoreOpts -XX:-CheckJNICalls -XX:UseAVX=2 -Xbatch -XX:-TieredCompilation -XX:CompileCommand=dontinline,ECoreIndexOf.indexOfKernel ECoreIndexOf
3838
* @key randomness
3939
*/
4040

0 commit comments

Comments
 (0)