JInterface bug?

Vlad Dumitrescu <>
Mon Nov 13 10:39:29 CET 2000


Hi!

After playing a while with JInterface, I noticed a possible bug in OtpNode$Acceptor. I run JDK 1.3 on Windows.

The constructor ends with 
    publishPort();
    acceptor.start();

I get a nullPointerException on the last line, but all works well if it is changed to
    start();
or 
    this.start();

The reason is of course that since the constructor is not ended yet, OtpNode.acceptor is still null...

regards,
Vlad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20001113/e1fe52c7/attachment.html>


More information about the erlang-questions mailing list