Missing encoding conversion in PlainSocketImpl.socketCreate

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.3.1_11
    • Affects Version/s: 1.3.1_06, 1.4.1
    • Component/s: core-libs
    • 11
    • generic, sparc
    • solaris, solaris_8

        It appears that an encoding conversion is missing when the function Java_java_net_PlainSocketImpl_socketCreate in src/solaris/native/java/net/PlainSocketImpl.c obtains a string from the C library function strerror and then passes it on to the JNI function ThrowNew. C library functions use the native encoding of the current locale, e.g., EUC-JP for Japanese, while JNI functions generally expect Java-modified UTF-8.

              Assignee:
              Jean-Christophe Collet (Inactive)
              Reporter:
              Norbert Lindenberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: