Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.13.0
-
None
-
None
Description
ThreadUtils.findThreads (and other methods calling it) return a list with nulls elements.
Affected version 3.13.0
3.12.0 works fine, not nulls elements in the returned list.
The bug is in findThreads method.
Version 3.12.0 iterates over the Thread[] threads from 0 to count, effectively ignoring all nulls at the end of the array.
Version 3.13.0 uses Stream.of and include all null elements at the end
I've created Pull Request #1098
Attachments
Issue Links
- is duplicated by
-
LANG-1715 ThreadUtils.getAllThreads returns null threads
- Resolved
- links to