On Tue, 19 Apr 2022 10:49:14 GMT, Alan Bateman <al...@openjdk.org> wrote:
>> src/java.base/share/classes/java/lang/ref/ReferenceQueue.java line 61: >> >>> 59: private final Condition notEmpty; >>> 60: >>> 61: void signal() { notEmpty.signalAll(); } >> >> `signal()`, `await()` and `await(long)` methods are only used by >> `ReferenceQueue`. Good to make them private. > > They are overridden so can't be private. That's right, I missed it. ------------- PR: https://git.openjdk.java.net/jdk/pull/8166