Hi!

I noticed that all JNI method names are wrongly encoded!

According to the JNI specification, chapter/section 11.3, the encoding
of a method like:

class: "java/io/File"
name: "createInternal"
descriptor: whatever

should be: "Java_java_0002fio_0002fFile_createInternal"

In Classpath, it seems that the name "Java_java_io_File_createInternal"
is used, instead.  Doesn't this means that a JVM wouldn't find the
method?

Or, am I missing something, here?

Thanks in advance for your reply.

Etienne
-- 
----------------------------------------------------------------------
Etienne M. Gagnon, M.Sc.                     e-mail: [EMAIL PROTECTED]
Author of SableVM:                             http://www.sablevm.org/
----------------------------------------------------------------------

Reply via email to