RFR: 8303392: Runtime.exec and ProcessBuilder.start should use System logger [v6]

Roger Riggs rriggs at openjdk.org
Tue Mar 14 14:14:50 UTC 2023


On Fri, 10 Mar 2023 21:34:56 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Runtime.exec and ProcessBuilder.start methods create a new operating system process with the program and arguments. Many applications configure a logging subsystem to monitor application events. Logging a process start message with the program, arguments, and stack trace can identify the caller and purpose.
>> Logging the process start event is complementary to the process start event generated for JFR (Java Flight Recorder).
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Reword @implNote to indicate logging can be enabled. (But is not by default)

Please review the CSR: [JDK-8303392](https://bugs.openjdk.org/browse/JDK-8303392)

-------------

PR: https://git.openjdk.org/jdk/pull/12862


More information about the core-libs-dev mailing list