JDK-4858889 : JNI Invocation API strings not UTF-8
  • Type: Enhancement
  • Status: Closed
  • Resolution: Won't Fix
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P3
  • Affected Version: 1.4.1_02
  • OS: other
  • CPU: unknown
  • Submit Date: 2003-05-06
  • Updated Date: 2014-03-18
  • Resolved Date: 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