On Mon, 29 Sep 2003 10:01:32 +0200
Michael Koch <[EMAIL PROTECTED]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Am Montag, 29. September 2003 07:09 schrieb Guilhem Lavaux:
> > Dalibor Topic wrote:
> > > Kaffe CVS wrote:
> > >> PatchSet 4072 Date: 2003/09/28 19:53:51
> > >> Author: guilhem
> > >> Branch: HEAD
> > >> Tag: (none) Log:
> > >> NIO+NET classes merging from GNU Classpath + KJC updates.
> > >>
> > >> This KJC should fix the past issue. Please report any
> > >> misbehaviour (regression tests
> > >> work here).
> > >
> > > In order to test the fresh NIO code, I've tried to run freenet
> > > 0.5.2.1 [1] on top of kaffe from CVS. I've got a ton of those:
> > >
> > > java.lang.NullPointerException
> > >    at gnu.java.nio.SelectorImpl.deregisterCancelledKeys
> > > (SelectorImpl.java:234)
> > >    at gnu.java.nio.SelectorImpl.select (SelectorImpl.java:146)
> > >    at gnu.java.nio.SelectorImpl.selectNow (SelectorImpl.java:86)
> > >    at freenet.transport.AbstractSelectorLoop.mySelect
> > > (AbstractSelectorLoop.java:394)
> > >    at freenet.transport.WriteSelectorLoop.beforeSelect
> > > (WriteSelectorLoop.java:255)
> > >    at freenet.transport.AbstractSelectorLoop.loop
> > > (AbstractSelectorLoop.java:505)
> > >    at freenet.transport.WriteSelectorLoop.run
> > > (WriteSelectorLoop.java:617)
> > >    at java.lang.Thread.run (Thread.java:321)
> > >
> > > cheers,
> > > dalibor topic
> >
> > Anyway, there are some missing native calls. So it would have
> > really astonished if it worked.
> 
> Oops, I thought GCJ only when robilad asked me on IRC about it ...
> 
> Anyway, deregisterCancelledKeys() should not throw a 
> NullPointerException. Can you debug this and look where exactly the 
> exception is thrown ?

cancelledKeys() in java.nio.channels.spi.AbstractSelector returns
null (as in "return null;") in gcj, kaffe and classpath cvs.

Regards,
Helmer

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to