RFR: 8372246: LogOutputList gtests should not use LogConfiguration LogOutputs

Axel Boldt-Christmas aboldtch at openjdk.org
Thu Nov 20 09:30:03 UTC 2025


A handful of `LogOutputList` tests uses `LogConfiguration::Std[out|err]Log` LogOutputs in its tests.
However these are not setup unless we run the tests in VM mode.

I suggest we add some dummy `LogOutputs` for `StdoutLog` and `StderrLog` which these tests can use, so they are not depending being a VM test.

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

Depends on: https://git.openjdk.org/jdk/pull/28409

Commit messages:
 - LogOutputList gtests should not use LogConfiguration LogOutputs

Changes: https://git.openjdk.org/jdk/pull/28416/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28416&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8372246
  Stats: 26 lines in 2 files changed: 10 ins; 3 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/28416.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28416/head:pull/28416

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


More information about the hotspot-runtime-dev mailing list