[Top][All Lists]

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

Bug Report: NIO SelectorImpl crashing

From: Everton da Silva Marques
Subject: Bug Report: NIO SelectorImpl crashing
Date: Wed, 29 Oct 2003 20:54:47 -0200
User-agent: Mutt/1.5.4i

Please find attached a small test program which
reproduces the following crash under Kaffe 1.1.2:

/usr/local/kaffe/bin/java -classpath build telnet.TelnetServer
waiting for connections on 1234
   at (
   at (
   at (
   at telnet.TelnetServer.serve (
   at telnet.TelnetServer.main (

I have looked quickly on the problem, and it seems
SelectorImpl.deregisterCancelledKeys() calls cancelledKeys(),
which is inherited as "returning null" from AbstractSelector:

class SelectorImpl extends AbstractSelector:

  private final void deregisterCancelledKeys()
    Iterator it = cancelledKeys().iterator();

class AbstractSelector:

  protected final Set cancelledKeys()
    return null;

So is someone writing SelectorImpl.cancelledKeys()...? ;)


Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]