RFR: 8219197: ThreadGroup.enumerate() may return wrong value

Daniel Fuchs daniel.fuchs at oracle.com
Wed Mar 13 16:31:49 UTC 2019


Hi Pavel,

On 13/03/2019 14:41, Pavel Rappo wrote:
> After all if this group is
> being destroyed, and this is the only call, then 0 would be a correct value,
> wouldn't it?

It may only be the correct value if the input argument value n == 0.
As the @summary section says: the 3-args enumerate method should never
return a value lesser (<) than n.

cheers,

-- daniel


More information about the core-libs-dev mailing list