Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 39979 invoked from network); 23 Oct 2002 11:43:07 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 Oct 2002 11:43:07 -0000 Received: (qmail 22743 invoked by uid 97); 23 Oct 2002 11:43:55 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 22712 invoked by uid 97); 23 Oct 2002 11:43:54 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 22692 invoked by uid 50); 23 Oct 2002 11:43:54 -0000 Date: 23 Oct 2002 11:43:53 -0000 Message-ID: <20021023114353.22691.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 8510] - shutdown hook does not fire in forked java task under JDK1.4 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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: For additional commands, e-mail: