RFR: 8347629: Test FailOverDirectExecutionControlTest.java fails with -Xcomp
Jan Lahoda
jlahoda at openjdk.org
Thu Jan 23 11:46:25 UTC 2025
The `FailOverDirectExecutionControlTest` test looks-up/creates a `Logger`, configures it, but it is not holding it while the test is running. As a consequence, the `Logger` may be GCed, loosing the configuration, and consequently failing the test.
The proposal in this PR is to hold the configured `Logger` instance for the duration of the test.
-------------
Commit messages:
- 8347629: Test FailOverDirectExecutionControlTest.java fails with -Xcomp
Changes: https://git.openjdk.org/jdk/pull/23265/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23265&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8347629
Stats: 4 lines in 1 file changed: 2 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/23265.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23265/head:pull/23265
PR: https://git.openjdk.org/jdk/pull/23265
More information about the kulla-dev
mailing list