RFR: 8337037: compiler internal options are not printing the stacktrace after a compiler crash

Vicente Romero vromero at openjdk.org
Wed Jul 24 17:38:57 UTC 2024


There are two internal javac options: `doe` and `dev` that we use to indicate the compiler to printout the stacktrace of any error issued and or exception thrown. There are a number of internal exceptions for which the stacktrace was not being produced due to performance issues. This patch is restoring the previous compiler behavior, printing out stacktraces if the internal options are passed, while keeping the most performant approach when none of the mentioned internal options is passed,

TIA

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

Commit messages:
 - 8337037: compiler internal options are not printing the stacktrace after a compiler crash

Changes: https://git.openjdk.org/jdk/pull/20314/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20314&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8337037
  Stats: 75 lines in 8 files changed: 45 ins; 4 del; 26 mod
  Patch: https://git.openjdk.org/jdk/pull/20314.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20314/head:pull/20314

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


More information about the kulla-dev mailing list