JDK-8038005 : Improve JNI spec for string methods
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2014-03-20
  • Updated: 2014-04-02
  • Resolved: 2014-04-02
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 9
9Resolved
Related Reports
Duplicate :  
Relates :  
Description
I would like the doc for GetStringUTFChars() to spec if the returned string is null-terminated. 
Since JNI also provides a GetStringUTFLength() it would be technically possible to use the result of GetStringUTFChars() without null-termination.

Same is true for GetStringChars() /GetStringLength(). and GetStringCritical().