bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/108569] VMProcess.destroy() throws InternalError for non


From: guillerodriguez.dev at gmail dot com
Subject: [Bug classpath/108569] VMProcess.destroy() throws InternalError for non existing processes
Date: Fri, 27 Jan 2023 09:57:41 +0000

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108569

Guillermo Rodriguez <guillerodriguez.dev at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |guillerodriguez.dev at gmail 
dot c
                   |                            |om

--- Comment #4 from Guillermo Rodriguez <guillerodriguez.dev at gmail dot com> 
---
> I just think that the ESRCH error code should be handled as success.

Yes. Throwing an InternalError from a condition that cannot be controlled by
user code anyway does not seem right.

Also, the Javadocs have been amended to explicitly state that "If the process
is not alive, no action is taken".


reply via email to

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