Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4858889

JNI Invocation API strings not UTF-8

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 1.4.1_02
    • hotspot
    • unknown
    • other

      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.

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: