You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2006/06/27 12:18:30 UTC
[jira] Commented: (HARMONY-578) [classlib][nio] NIO should provide
some utility classes for the JNI 1.4 enhancement
[ http://issues.apache.org/jira/browse/HARMONY-578?page=comments#action_12417998 ]
Tim Ellison commented on HARMONY-578:
-------------------------------------
Sorry Paulex, I inadvertently missed committing the change to native-src/build.xml. That was done in r417397.
> [classlib][nio] NIO should provide some utility classes for the JNI 1.4 enhancement
> -----------------------------------------------------------------------------------
>
> Key: HARMONY-578
> URL: http://issues.apache.org/jira/browse/HARMONY-578
> Project: Harmony
> Type: Bug
> Components: Classlib
> Reporter: Paulex Yang
> Assignee: Tim Ellison
> Attachments: JNI.ZIP
>
> JNI 1.4 add three new API related to nio buffers,
> jobject NewDirectByteBuffer(JNIEnv* env, void* address, jlong capacity)
> void* GetDirectBufferAddress(JNIEnv* env, jobject buf)
> jlong GetDirectBufferCapacity(JNIEnv* env, jobject buf)
> To simplify these JNI methods implementation, NIO module can provide the corresponding Java utilities and JNI wrapper code. I'll raise the patch soon.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira