Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8362050 | 25.0.1 | Roger Riggs | P4 | Resolved | Fixed | b02 |
JDK-8361525 | 25 | Roger Riggs | P4 | Resolved | Fixed | b31 |
Processes started from ProcessBuilder use platform resources for the process itself and to communicate between the invoking Java runtime and the launched process. The resources include file descriptors on Linux and handles on Windows for pipes and files used for input and output.
A robust application using Process needs to know how to use the API under both normal and exception conditions and how to cleanup to free resources.
The responsibility of the application should be clear in the javadoc including any need to close streams, files, and handle a process that is unresponsive.
A robust application using Process needs to know how to use the API under both normal and exception conditions and how to cleanup to free resources.
The responsibility of the application should be clear in the javadoc including any need to close streams, files, and handle a process that is unresponsive.
- backported by
-
JDK-8361525 Clarify java.lang.Process resource cleanup
-
- Resolved
-
-
JDK-8362050 Clarify java.lang.Process resource cleanup
-
- Resolved
-
- csr for
-
JDK-8356311 Clarify java.lang.Process resource cleanup
-
- Closed
-
- links to
-
Commit(jdk25) openjdk/jdk/3e93b98b
-
Commit(master) openjdk/jdk/afb4a1be
-
Review(jdk25) openjdk/jdk/26168
-
Review(master) openjdk/jdk/25884
(2 links to)