-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b01
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2206118 | 7 | Sowmya Kannan | P3 | Closed | Fixed | b128 |
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
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
- backported by
-
JDK-2206118 Documented return value for JNI function GetStringUTFChars is wrong
-
- Closed
-
- relates to
-
JDK-4077872 GetStringUTFChars() return value is wrong .
-
- Closed
-