RFR: 8333282: Better warning if newly build JDK fails to run

Magnus Ihse Bursie ihse at openjdk.org
Thu May 30 15:07:25 UTC 2024


If the newly built JDK fails to run ("DOA"), we will get a strange error message about jdk.compiler-gendata errors from make. The reason is not at all obvious.

Instead, we should make a simple check that we can actually use the new JDK before starting to use it for the first time, and report clearly to the user if this is not the case.

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

Commit messages:
 - 8333282: Better warning if newly build JDK fails to run

Changes: https://git.openjdk.org/jdk/pull/19484/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19484&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8333282
  Stats: 72 lines in 2 files changed: 66 ins; 2 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/19484.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19484/head:pull/19484

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


More information about the build-dev mailing list