Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 1998 13:24:02 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Craig Spannring <cts@cdsnet.net>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: Bug in java.lang.Process.waitFor()?
Message-ID:  <199801312024.NAA21411@mt.sri.com>
In-Reply-To: <199801310308.TAA24210@bangkok.office.cdsnet.net>
References:  <199801310308.TAA24210@bangkok.office.cdsnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> I can't seem to get the waitFor() to ever return.  The problem appears
> in both jdk1.1.5 port and the jdk1.1.2 for FreeBSD.  The waitFor() in
> the Windows jdk1.1.4 seems to work fine the way I'm using it.

For what it's worth, the fix to the waitFor() problem was quite simple
and due to some code that Damon added.  That code might be necessary for
some other feature, but he has house guests and (apparently) hasn't been
near his computer to answer email.  However, after that was fixed, it
revealed another problem we have with the FD reaper threads that are
created when a process is instantiated, which causes the
applet/application to never exit when it should unless you explicitly
add a 'System.exit(0)' call at the end.

I'm working on this, and hope to have a fix committed and a new JDK
release rolled before the end of the weekend.


Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801312024.NAA21411>