United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4858889 JNI Invocation API strings not UTF-8
JDK-4858889 : JNI Invocation API strings not UTF-8

Details
Type:
Enhancement
Submit Date:
2003-05-06
Status:
Closed
Updated Date:
2014-03-18
Project Name:
JDK
Resolved Date:
2014-02-20
Component:
hotspot
OS:
other
Sub-Component:
runtime
CPU:
unknown
Priority:
P3
Resolution:
Won't Fix
Affected Versions:
1.4.1_02
Fixed Versions:

Related Reports
Relates:
Relates:
Relates:

Sub Tasks

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



Hardware and Software, Engineered to Work Together