RFR: 8219197: ThreadGroup.enumerate() may return wrong value
Daniel Fuchs
daniel.fuchs at oracle.com
Tue Mar 12 15:59:29 UTC 2019
Hi,
Please find below a simple fix for
8219197: ThreadGroup.enumerate() may return wrong value
http://cr.openjdk.java.net/~dfuchs/webrev_8219197/webrev.00/
This is a bug in the implementation of the recursion,
as enumerate(list, n, recurse) should never have returned
a value < n.
The test passes with the fix and fails 'often enough' without
it (~ 1 times out of 2 or 3).
best regards,
-- daniel
More information about the core-libs-dev
mailing list