JDK-8025979 : [TESTBUG] Write test to exercise uninitialized strings from JNI code
Type:Enhancement
Component:hotspot
Sub-Component:runtime
Affected Version:hs25
Priority:P3
Status:Resolved
Resolution:Fixed
Submitted:2013-10-05
Updated:2015-06-04
Resolved:2015-05-14
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
When JDK-8025922 was fixed, no regression test was added for that issue since jtreg does not support native code. But by using -XX:+ExecuteInternalVMTests it is possible to write a JNI test inside the JVM.
There are JNI tests in the VM/NSK testsuite. That would be a good place to land a JNI test.
07-10-2013
We need easier ways to write JNI regression tests but putting them in the VM is not the right thing to do in my opinion. Plus this kind of test should really be in the real JNI test suites - JCK?