Odd. Now, I personally do not have much experience with the usage of
JNI. What's the exact symptoms ? Any stack traces ? 

 

Werner

 

________________________________

Von: Chan, Philip [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 18. April 2007 15:57
An: [email protected]
Betreff: [castor-user] Castor and JNI

 

Hi, 

  I'm having problems trying to merge Castor generated classes and JNI.
My plan is to have C++ code create a JVM and call on castor to read in
and validate XML files and return the contents to my C++ code.  The
hiccup seems to be with the validate() and isValid() methods.  If I
remove them then JNI has no problems about finding my java class but if
the validate() and isValid() methods are in my java code then JNI cannot
find the class.  If anybody has any experience with this, advice would
be greatly appreciated.

-Phil Chan 

This email message is for the sole use of the intended recipient(s) and
may contain GDC4S confidential or privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If
you are not an intended recipient, please contact the sender by reply
email and destroy all copies of the original message."

 

Reply via email to