Maintenance Notice

The bugs.java.com site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
JDK-4858889 : JNI Invocation API strings not UTF-8
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.4.1_02
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: other
  • CPU: unknown
  • Submitted: 2003-05-06
  • Updated: 2014-03-18
  • Resolved: 2014-02-20
Related Reports
Relates :  
Relates :  
Relates :  
Description
In struct JavaVMOption, char *optionString is obviously not expected by the Invocation API to be encoded with Java's modified UTF-8, but rather with a "platform" encoding somehow derived from the OS environment.  This makes it impossible for a client of the Invocation API to reliably pass in any Unicode optionStrings.  Also, the documentation of the Invocation API lacks a description of how those strings should be encoded.

Comments
We don't intend to change the type of JavaVMOption to support UTF-8, closing as WNF
2014-02-20