On Thu, 6 Feb 2025 16:27:19 GMT, Chen Liang <li...@openjdk.org> wrote:
>> 8349206: j.u.l.Handler classes create deadlock risk via synchronized >> publish() method. >> >> 1. Remove synchronization of calls to publish() in Handlers in >> java.util.logging package. >> 2. Add explanatory comments to various affected methods. >> 3. Add a test to ensure deadlocks no longer occur. >> >> Note that this change does not address issue in MemoryHandler (see >> JDK-8349208). > > src/java.logging/share/classes/java/util/logging/FileHandler.java line 2: > >> 1: /* >> 2: * Copyright (c) 2000, 2024, 2025, Oracle and/or its affiliates. > > We usually just include the initial creation and the latest update years, so > `2020, 2025,` is sufficient and `2024,` can be removed. Thank you, I'll sort this out in the next push. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23491#discussion_r1945150364