-
Bug
-
Resolution: Fixed
-
P4
-
1.4.1, 1.4.2_08, 5.0
-
b89
-
generic, x86, sparc
-
solaris, solaris_10, windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2139743 | 5.0u10 | Nikolay Gorshkov | P4 | Resolved | Fixed | b02 |
JDK-2139742 | 1.4.2_14 | Nikolay Gorshkov | P4 | Resolved | Fixed | b01 |
It appears that an encoding conversion is missing when the function handleSocketError in src/solaris/native/sun/nio/ch/Net.c obtains a string from the C library function strerror and then passes it on to the JNI utility JNU_ThrowByNameWithLastError. 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.
- backported by
-
JDK-2139742 (so) Missing encoding conversion in handleSocketError
- Resolved
-
JDK-2139743 (so) Missing encoding conversion in handleSocketError
- Resolved