This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: CNI byte array
- To: "Shu-Fang Chen" <shuchen at nortelnetworks dot com>
- Subject: Re: CNI byte array
- From: Per Bothner <per at bothner dot com>
- Date: 01 Mar 2001 14:53:50 -0800
- Cc: "'java-discuss at sourceware dot cygnus dot com'" <java-discuss at sourceware dot cygnus dot com>
- References: <52F74DDA50B5D211AF800000F808252105D374D6@zrchb212.us.nortel.com>
"Shu-Fang Chen" <shuchen@nortelnetworks.com> writes:
> It would take much more time and memory if the message traffic is heavy. If I
> could access the field "data" in class JArray, the problem would be
> solved. Unfortunately, it's a private field.
This is documented in the CNI manual:
http://gcc.gnu.org/java/papers/cni/t1215.html
Hint: Look for the 'elements' template function.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/