RFR: 8350214: Test gtest/AsyncLogGtest.java fails after JDK-8349755

Johan Sjölen jsjolen at openjdk.org
Tue Feb 18 13:18:02 UTC 2025


Hi,

[8349755](https://bugs.openjdk.org/browse/JDK-8349755) introduced a bug in debug builds when running with `-Xlog:async -Xlog:all=debug`. Specifically, this will cause UL to select for `deathtest` and `deathtest2`, which should only be selected when explicitly asked for.

In order to fix this, I've added a small debug-only snippet which ensures that any wildcard selector does not select `deathtest` or `deathtest2`. I've also added a testcase in order to catch this regression.

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

Commit messages:
 - Weird semi-colons
 - Update copyright
 - Explicitly disable deathtest and deathtest2 if using wildcards

Changes: https://git.openjdk.org/jdk/pull/23675/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23675&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350214
  Stats: 50 lines in 4 files changed: 49 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/23675.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23675/head:pull/23675

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


More information about the hotspot-runtime-dev mailing list