commit-classpath
[Top][All Lists]
Advanced

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

[patch #3026] Fix for hang in VMProcess.destroy


From: Michael Koch
Subject: [patch #3026] Fix for hang in VMProcess.destroy
Date: Fri, 07 May 2004 05:19:57 -0400
User-agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux; de, address@hidden) (KHTML, like Gecko)

This mail is an automated notification from the patch tracker
 of the project: classpath.

/**************************************************************************/
[patch #3026] Latest Modifications:

Changes by: 
                Michael Koch <address@hidden>
'Date: 
                Fri 05/07/04 at 09:19 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Commited to CVS.






/**************************************************************************/
[patch #3026] Full Item Snapshot:

URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3026>
Project: classpath
Submitted by: Stephen Crawley
On: Thu 05/06/04 at 16:31

Category:  None
Priority:  8
Resolution:  None
Assigned to:  None
Originator Email:  
Status:  Closed


Summary:  Fix for hang in VMProcess.destroy

Original Submission:  The destroy method goes into an infinite loop.  This can 
be
reproduced by running Kissme's "hitme/system/OSProcess"
testcase, subtest #13.  The gist of this subtest is

  Process p = runtime.exec("/bin/sh -c sleep 10");
  p.destroy();

The bug is obvious, and this patch fixes it in the
obvious way.

2004-05-07  Stephen Crawley <address@hidden>
* vm/reference/java/lang/VMProcess.java (destroy) : fix the infinite loop that 
occurs if you try to destroy a Process that hasn't terminated yet.


Follow-up Comments
------------------


-------------------------------------------------------
Date: Fri 05/07/04 at 09:19         By: mkoch
Commited to CVS.






File Attachments
-------------------

-------------------------------------------------------
Date: Thu 05/06/04 at 16:31  Name: diffs  Size: 788KB   By: crawley

http://savannah.gnu.org/patch/download.php?item_id=3026&amp;item_file_id=3216






For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=3026>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

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