forEach loops forever for infinite streams

Georgiy Rakov georgiy.rakov at oracle.com
Wed Nov 14 06:28:10 PST 2012


Hello,

forEach method call on infinite stream causes infinite looping over 
supplied block. Some of previous build threw IllegalStateException. The 
current behavior seems to be obvious and logic; could you please just 
confirm that it's really the expected behavior.

Thanks, Georgiy.


More information about the lambda-dev mailing list