Are you sure this is right? This would imply a method called 1java in a class called 
1crv1 in a package called ShowBondcrv1.aaBond. Neither the package name nor the class 
name follow normal Java naming conventions, and the method name is simply illegal.

If your method name has _ characters in it, firstly consider renaming your method in 
accordance with traditional Java coding conventions. Secondly, you'll have to look at 
the JNI spec for how to encode those method names in C because the _ character has a 
special meaning in the C signature.

The hashCode() method in java.lang.Object is native. It would require a C++ method 
with signature Java_java_lang_Object_hashCode(...)

Also, note that if your DLL is written in C++, you'll need an extern "C" directive:

extern "C" JNIEXPORT void JNICALL Java_java_lang_Object_hashCode(JNIEnv* env, jobject 
self)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839852#3839852

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839852


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to