Hi!

I found a problem in gnu_java_nio_VMChannel.c.  It's about
NonReadableChannelException and NonWriteableChannelException.  These
exceptions do not have a initializer with String as parameter:

java.lang.NoSuchMethodError: 
java.nio.channels.NonReadableChannelException.<init>(Ljava/lang/String;)V
   at gnu.java.nio.VMChannel.read(Native Method)
   at gnu.java.nio.VMChannel.read(VMChannel.java:159)

But the C code assumes this, like:

JCL_ThrowException (env, NON_READABLE_CHANNEL_EXCEPTION, strerror(errno));

I don't know exactly how to fix this "properly".

- twisti

Reply via email to