Documented return value for JNI function GetStringUTFChars is wrong

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6u10
    • Affects Version/s: 5.0
    • Component/s: docs
    • b01
    • generic
    • generic

        The JNI documentation in JDK 5.0 specifies the return type of GetStringUTFChars as "const jbyte *" when in fact it is "const char *". The URL for the erroneous documentation is:

        http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/functions.html#wp17265

        Btw, a search of the bugs database shows that this bug has been around a long time (see bug 4077872) and has either been reintroduced or was never fully fixed.

        ###@###.### 2005-05-31 21:11:00 GMT

              Assignee:
              Scott Hommel (Inactive)
              Reporter:
              Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: