The source changes look ok to me, but I can't imagine that anyone would run into this under normal circumstances.
Quite trivially, I don't think the test needs to be run under othervm, especially with a fixed JDK. -Chris. > On 2 Mar 2014, at 07:58, Ivan Gerasimov <ivan.gerasi...@oracle.com> wrote: > > Hello! > > SequenceInputStream#read functions are implemented recursively. > This may cause stack overflow in some extreme cases with lots of empty > substreams. > > 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, > Ivan