Michael Koch wrote: >>If they have to handle views, they don't seem "trivial" to me, but >>then again I'm unfamiliar with this stuff. > > I have a patch here which makes it easy. I just don't wanna commit it > before the release. > >>What is the "trivial" algorithm I need to implement then? It >>doesn't seem obvious, and seems dependent on the particulars of >>Classpath's java.nio classes. But maybe I'm missing something. > > for GetDirectBufferAddress: Return the pointer stored in > java.nio.Buffer.address (doesn't exist yet). > > for GetDirectBufferCapacity: Return the value of > java.nio.Buffer.capacity or -1 if java.nio.Buffer.address is NULL.
OK, now I understand. Thanks in advance for providing this patch. -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com * Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. * _______________________________________________ Classpath mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath

