[jdk8u-dev] RFR: 8353657: [8u] Test tools/launcher/VersionCheck.java fails with debug build [v2]

SendaoYan syan at openjdk.org
Fri Aug 29 08:50:27 UTC 2025


> Hi all,
> 
> Test tools/launcher/VersionCheck.java fails with fastdebug build which report 'jstack.debuginfo: cannot execute binary file'. This failure fixed by [JDK-8237192](https://bugs.openjdk.org/browse/JDK-8237192) in jdk15, only a subset of [JDK-8237192](https://bugs.openjdk.org/browse/JDK-8237192) to fix this test failure. So it's not suitable to backport [JDK-8237192](https://bugs.openjdk.org/browse/JDK-8237192) to jdk8u-dev, then I create this PR to fix this testbug.
> 
> This PR skip all the `*.debuginfo` files to check the '-version' or '-J-version'. Change has been verified localy, test-fix only, no risk.

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

  Use NIX_DBGINFO_EXT instead of DEBUGINFO_FILE_EXT

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/685/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/685/files/ad5b9c3d..847ec546

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=685&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=685&range=00-01

  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/685.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/685/head:pull/685

PR: https://git.openjdk.org/jdk8u-dev/pull/685


More information about the jdk8u-dev mailing list