Skip to content

Commit

Permalink
8258217: PriorityBlockingQueue constructor spec and behavior mismatch
Browse files Browse the repository at this point in the history
Reviewed-by: dl
  • Loading branch information
Martin Buchholz committed Jan 10, 2021
1 parent 65ca5c6 commit 11d5b04
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -226,7 +226,7 @@ public PriorityBlockingQueue(int initialCapacity,
/**
* Creates a {@code PriorityBlockingQueue} containing the elements
* in the specified collection. If the specified collection is a
* {@link SortedSet} or a {@link PriorityQueue}, this
* {@link SortedSet} or a {@link PriorityBlockingQueue}, this
* priority queue will be ordered according to the same ordering.
* Otherwise, this priority queue will be ordered according to the
* {@linkplain Comparable natural ordering} of its elements.
Expand Down

1 comment on commit 11d5b04

@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.