RFR: 8365483: Test sun/rmi/runtime/Log/6409194/NoConsoleOutput.java sometimes fails

David Beaumont duke at openjdk.org
Tue Sep 9 14:42:30 UTC 2025


The writer field of the handler needs to be re-checked for null inside the locked region before use.

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

Commit messages:
 - Re-check writer after locking

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

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


More information about the core-libs-dev mailing list