8166446: SingletonIterator.forEachRemaining doesn't advance before calling action

Reviewed-by: martin
2 files changed