Skip to content
Permalink
Browse files
8269923: runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.j…
…ava failed with "FATAL ERROR in native method: Primitive type array expected but not received for JNI array operation"

Reviewed-by: dcubed, dholmes
  • Loading branch information
zhengyu123 committed Jul 7, 2021
1 parent 77a5b7b commit bffb1a7199800ee05bf5fe32b7a6867fdd7bfbbf
Showing 2 changed files with 1 addition and 3 deletions.
@@ -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
@@ -65,7 +65,7 @@ private static void runTest() {

// -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);
}

1 comment on commit bffb1a7

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on bffb1a7 Jul 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.