Skip to content

Commit

Permalink
8286760: Update citation of "Effective Java" second edition to third …
Browse files Browse the repository at this point in the history
…edition

Reviewed-by: bpb, prappo
  • Loading branch information
jddarcy committed May 16, 2022
1 parent c044cb8 commit 4bc7b7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/java.base/share/classes/java/lang/Object.java
Expand Up @@ -429,10 +429,10 @@ public final void wait(long timeoutMillis) throws InterruptedException {
* is not satisfied. See the example below.
* <p>
* For more information on this topic, see section 14.2,
* "Condition Queues," in Brian Goetz and others' <em>Java Concurrency
* in Practice</em> (Addison-Wesley, 2006) or Item 69 in Joshua
* Bloch's <em>Effective Java, Second Edition</em> (Addison-Wesley,
* 2008).
* "Condition Queues," in Brian Goetz and others' <cite>Java Concurrency
* in Practice</cite> (Addison-Wesley, 2006) or Item 81 in Joshua
* Bloch's <cite>Effective Java, Third Edition</cite> (Addison-Wesley,
* 2018).
* <p>
* If the current thread is {@linkplain java.lang.Thread#interrupt() interrupted}
* by any thread before or while it is waiting, then an {@code InterruptedException}
Expand Down

1 comment on commit 4bc7b7d

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.