mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
7007040: Check of capacity paramenters in JNI_PushLocalFrame is wrong
Changed AND to OR Reviewed-by: coleenp, hseigel
This commit is contained in:
parent
326b206183
commit
17ebe26fa0
1 changed files with 1 additions and 1 deletions
|
@ -879,7 +879,7 @@ JNI_ENTRY(jint, jni_PushLocalFrame(JNIEnv *env, jint capacity))
|
|||
env, capacity);
|
||||
#endif /* USDT2 */
|
||||
//%note jni_11
|
||||
if (capacity < 0 && capacity > MAX_REASONABLE_LOCAL_CAPACITY) {
|
||||
if (capacity < 0 || capacity > MAX_REASONABLE_LOCAL_CAPACITY) {
|
||||
#ifndef USDT2
|
||||
DTRACE_PROBE1(hotspot_jni, PushLocalFrame__return, JNI_ERR);
|
||||
#else /* USDT2 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue