Closed seanf closed 1 year ago
It sounds interesting -- how should we handle the exception? Just ignore it and continue as if it is indefinite?
This is already the behavior for InputStream
s. I'll do the same for Spliterator
s. Thanks!
Thank you!
Some
Spliterator
s have bugs in theirestimateSize
methods, and introducing ProgressBar can trigger these bugs when it tries to determine the initialMax value. It would be good to haveProgressBar.wrap
catch any exceptions and do its best to continue. This of courses raises the question of exception logging.Would you be open to a PR which makes this change?