RFR: 8303198: System and Runtime.exit() resilience to logging errors [v2]

Roger Riggs rriggs at openjdk.org
Wed Mar 1 16:59:51 UTC 2023


> Consolidate logging and handle exceptions by printing to standard error and ignoring the exception.
> Exceptions while logging will not interfere with Runtime.exit.

Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:

  Add exit status to output when the logging fails with an exception.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12770/files
  - new: https://git.openjdk.org/jdk/pull/12770/files/ed5d16e7..363ccbc2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12770&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12770&range=00-01

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

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


More information about the core-libs-dev mailing list