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: Stephen Crawley
Subject: [patch #3026] Fix for hang in VMProcess.destroy
Date: Thu, 06 May 2004 12:31:18 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

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




/**************************************************************************/
[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:  Open


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.






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]