8269923: runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java failed with "FATAL ERROR in native method: Primitive type array expected but not received for JNI array operation"

Reviewed-by: dcubed, dholmes
This commit is contained in:
Zhengyu Gu 2021-07-07 11:47:02 +00:00
parent 77a5b7b27e
commit bffb1a7199
2 changed files with 1 additions and 3 deletions

View File

@ -101,8 +101,6 @@ runtime/os/TestTracePageSizes.java#with-G1 8267460 linux-aarch64
runtime/os/TestTracePageSizes.java#with-Parallel 8267460 linux-aarch64
runtime/os/TestTracePageSizes.java#with-Serial 8267460 linux-aarch64
runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java 8269923 windows-x64
#############################################################################
# :hotspot_serviceability

View File

@ -65,7 +65,7 @@ public class TestPrimitiveArrayCriticalWithBadParam {
// -Xcheck:jni should warn the bad parameter
analyzer.shouldContain("FATAL ERROR in native method: Primitive type array expected but not received for JNI array operation");
analyzer.shouldHaveExitValue(134);
analyzer.shouldNotHaveExitValue(0);
} catch (IOException e) {
throw new RuntimeException(e);
}