RFR: JDK-8297605 DelayQueue javadoc is confusing

Martin Buchholz martin at openjdk.org
Thu Mar 2 16:02:31 UTC 2023


On Thu, 2 Mar 2023 02:03:51 GMT, Martin Buchholz <martin at openjdk.org> wrote:

>>> @Martin-Buchholz Martin, how would you like to proceed with your proposed wording, would you prefer a suggested edit to this PR, do a separate PR, or otherwise? /cc @AlanBateman (any recommendation, Alan? thinking )
>> 
>> Talked me into it - I will dust off my github/skara skillz and make a new PR.  
>> 
>> I wonder if there's now a way to override javadoc for remove() without creating a new method body.
>
>> I wonder if there's now a way to override javadoc for remove() without creating a new method body.
> 
> I thought recent javadoc features might have been useful here, but I scanned the results from this jql:
> 
> 
> subcomponent in ( "javadoc(tool)", "doclet" )  AND (resolution in ( Fixed, Approved ) ) AND issuetype in (JEP, Enhancement) ORDER BY resolved  DESC
> 
> 
> and came up empty

> @Martin-Buchholz @pavelrappo OTOH I see that DelayQueue _has already_ overridden `remove(Object o)` so you should be able to modify that?

Right.  But remove(Object) unlike remove() doesn't consider the expiration time.  Confusing!

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

PR: https://git.openjdk.org/jdk/pull/12729


More information about the core-libs-dev mailing list