JDK-8025922 : JNI access to Strings need to check if the value field is non-null
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs25
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-10-04
  • Updated: 2013-10-17
  • Resolved: 2013-10-05
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.

To download the current JDK release, click here.
JDK 8 Other
8Fixed hs25Fixed
Description
If the String constructor has not completed, then we can't access the String data.

Affects:
GetStringLength
GetStringChars
GetStringUTFLength
GetStringUTFChars
Comments
URL: http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/f9be370a7d54 User: jcoomes Date: 2013-10-11 23:52:06 +0000
11-10-2013

URL: http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/f9be370a7d54 User: sla Date: 2013-10-05 14:54:29 +0000
05-10-2013

Missed that. Habits...
04-10-2013

This fix is purely in JNI code so this bug should be moved from hotspot/svc -> hotspot/runtime for proper visibility.
04-10-2013