Freenet Re: [kaffe] CVS kaffe (guilhem): NIO+NET classes merging from GNU Classpath + KJC updates.

Michael Koch konqueror@gmx.de
Mon Sep 29 01:03:01 2003


=2D----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=20
NullPointerException. Can you debug this and look where exactly the=20
exception is thrown ?


Michael
=2D --=20
Homepage: http://www.worldforge.org/
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/d+bfWSOgCCdjSDsRAsGOAJ4swa1CuJd6JhhJZc9IdzZWsgeq3gCfYhgr
=46Ooe3L+HNgAwCFQgnMxkUdc=3D
=3D4n53
=2D----END PGP SIGNATURE-----