> From: David Kerber [mailto:[EMAIL PROTECTED] > Subject: Re: How to get fields list in order > > To modify return parameters, I need the byte offsets of > the various pieces of the structure, which I'm mirroring > in my java classes.
That's a very scary way to do it. Using order to determine byte offsets is not reliable, since that can change from JVM to JVM and across different platforms and CPU architectures. What's wrong with gettng the field IDs during class initialization and using the GetField / PutField JNI methods as needed? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]