RFR: 8323659: LinkedTransferQueue add and put methods call overridable offer

Alan Bateman alanb at openjdk.org
Fri Jan 12 11:05:19 UTC 2024


On Fri, 12 Jan 2024 10:38:40 GMT, Chris Hegarty <chegar at openjdk.org> wrote:

> Update LinkedTransferQueue add and put methods to not call overridable.

This feels more like a hazard when extending to override behavior. I think it would be useful to provide a summary on what the override wants to do, maybe there are better ways to customise by wrapping the LTQ rather than subclassing.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17393#issuecomment-1888889220


More information about the core-libs-dev mailing list