tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: How to get fields list in order
Date Fri, 03 Nov 2006 13:53:43 GMT
David,

>>>> Since you mentioned byte offsets, I have to ask: are you trying to
>>>> subvert the serialization system? Or, even worse, inspect the object
>>>> memory from with JNI?
>>>>     
>>> The latter, sort of.  I'm using a package which puts a wrapper around
>>> JNI to make it easier to create windows standard .dll's from java
>>> classes, and passing them structures from Visual Basic and other
>>> external apps.  To modify return parameters, I need the byte offsets of
>>> the various pieces of the structure, which I'm mirroring in my java
>>> classes.
>>>   
>>
>> Why not just use the built-in JNI C-to-Java capabilities? If you need to
>
> I don't know C, and don't have access to a C compiler.

Wait... I thought you said you were using JNI...?! Or, are you using
someone else's JNI package to do some dirty tricks? I thought there was
only a C binding for JNI thus far.

-chris


Mime
View raw message