exception bug in gnu_java_nio_VMChannel.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux