RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer [v3]
Chris Hegarty
chegar at openjdk.org
Fri Jan 12 15:06:01 UTC 2024
On Fri, 12 Jan 2024 15:02:59 GMT, Chris Hegarty <chegar at openjdk.org> wrote:
>> Update LinkedTransferQueue add and put methods to not call overridable offer.
>
> Chris Hegarty has updated the pull request incrementally with one additional commit since the last revision:
>
> timed offer
src/java.base/share/classes/java/util/concurrent/LinkedTransferQueue.java line 1160:
> 1158: */
> 1159: public boolean offer(E e, long timeout, TimeUnit unit) {
> 1160: Objects.requireNonNull(e);
While here, it makes sense to update the timed offer variant, since it is affected in a similar way.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17393#discussion_r1450573006
More information about the core-libs-dev
mailing list