RFR: 8372242: Gtest LogTagSet.defaults should run in OTHER VM [v2]

Axel Boldt-Christmas aboldtch at openjdk.org
Thu Nov 20 13:14:19 UTC 2025


> LogTagSet.defaults checks some of the default `LogTagSet` properties and assumes a fresh VM. This test will fail if the other `LogTagSet` have run first.
> 
> As this test is ment to test the defaults of the LogTagSet, it should be ran in an OTHER VM. 
> 
> We might still have problems if logging flags are given to the GTestLauncher. But all our jtreg GTest runners are `@requires vm.flagless`, so this should only occur when running very custom test invocations.

Axel Boldt-Christmas has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:

 - Merge branch 'JDK-8372241' into JDK-8372242
 - Gtest LogTagSet.defaults should run in OTHER VM

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

Changes: https://git.openjdk.org/jdk/pull/28411/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28411&range=01
  Stats: 5 lines in 2 files changed: 1 ins; 2 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/28411.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28411/head:pull/28411

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


More information about the hotspot-runtime-dev mailing list