ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8510] - shutdown hook does not fire in forked java task under JDK1.4
Date Wed, 23 Oct 2002 11:43:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8510>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8510

shutdown hook does not fire in forked java task under JDK1.4





------- Additional Comments From Markus.Kieninger@jsoft.de  2002-10-23 11:43 -------
I did some tests concerning the shutdown hook problem with jdk 1.4. 
Here are the results:

shutdown hook works fine with:

jdk 1.3.x + application + no ant + windows (nt 4.0 + 2000)
jdk 1.3.x + application + no ant + linux
jdk 1.4.x + application + no ant + windows (nt 4.0 + 2000)
jdk 1.4.x + application + no ant + linux
jdk 1.3.x + application + ant 1.5.x (java + fork) + windows (nt 4.0 + 2000)
jdk 1.3.x + application + ant 1.5.x (java + fork) + linux
jdk 1.4.x + application + ant 1.5.x (java + fork) + linux

shutdown hook does not work with:

jdk 1.4.x + application + ant 1.5.x (java + fork) + windows (nt 4.0 + 2000)

I tried several jdk versions (1.3.0, 1.3.1, 1.4.0, 1.4.1) and ant versions
(1.5.0, 1.5.1). Always with the result described above.

So I think they must have changed something in jdk 1.4.x (win) about the
shutdown (hook) procedure, which is not integrated in ant so far. I don't think
it is a bug in the jdk, because when I run the application without ant all works
fine.

Maybe one of you can verify my results and I hope this will help to solve the
problem.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message