RFR [7011804] SequenceInputStream with lots of empty substreams can cause StackOverflowError

Ivan Gerasimov ivan.gerasimov at oracle.com
Sun Mar 2 07:58:39 UTC 2014


SequenceInputStream#read functions are implemented recursively.
This may cause stack overflow in some extreme cases with lots of empty 

Would you please help review the fix?

BUGURL: https://bugs.openjdk.java.net/browse/7011804
WEBREV: http://cr.openjdk.java.net/~igerasim/7011804/0/webrev/

Sincerely yours,

More information about the core-libs-dev mailing list