RFR 7007040: Check of capacity parameters in JNI PushLocalFrame is wrong
Lois Foltan
lois.foltan at oracle.com
Thu Jun 27 13:04:04 PDT 2013
Please review the following fix:
open webrev at http://cr.openjdk.java.net/~hseigel/bug_7007040/
Bug: Check of capacity parameters in JNI PushLocalFrame is wrong
bug link at http://bugs.sun.com/view_bug.do?bug_id=7007040
local bug link https://jbs.oracle.com/bugs/browse/JDK-7007040
Summary of fix:
Within jni.cpp's support for JNI PushLocalFrame, the verification
of the capacity parameter was incorrectly returning a JNI_OK
value when a request was made outside of the boundary of
0 thru MAX_REASONABLE_LOCAL_CAPACITY. For example a
request of -1 or MAX_REASONABLE_LOCAL_CAPACITY+1.
Tests:
jtreg, vm.quick.testlist, JCK vm & lang
Individual Test7007040 test case for testing of boundary and
outside of boundary conditions.
Thank you,
Lois
More information about the hotspot-runtime-dev
mailing list