git: openjdk/jdk: 8269697: JNI_GetPrimitiveArrayCritical() should not accept object array

Zhengyu Gu zgu at openjdk.java.net
Tue Jul 6 12:26:32 UTC 2021


Changeset: 16aa8cbf
Author:    Zhengyu Gu <zgu at openjdk.org>
Date:      2021-07-06 12:25:11 +0000
URL:       https://git.openjdk.java.net/jdk/commit/16aa8cbf8d6c0b89cd88cbe4f39c2bb76968c06e

8269697: JNI_GetPrimitiveArrayCritical() should not accept object array

Reviewed-by: kbarrett, dholmes

! src/hotspot/share/prims/jni.cpp
+ test/hotspot/jtreg/runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java
+ test/hotspot/jtreg/runtime/jni/checked/libTestBadParam.c



More information about the jdk-changes mailing list