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

Roger Riggs rriggs at openjdk.org
Fri Mar 10 00:01:51 UTC 2023


> 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:

  Reorder pid, directory, args in logged message.
  Cleanup argument lists in tests.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12862/files
  - new: https://git.openjdk.org/jdk/pull/12862/files/0f172bab..0a5b1901

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12862&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12862&range=02-03

  Stats: 31 lines in 2 files changed: 3 ins; 3 del; 25 mod
  Patch: https://git.openjdk.org/jdk/pull/12862.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12862/head:pull/12862

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


More information about the core-libs-dev mailing list