diff options
author | Erik Osheim <d_m@plastic-idolatry.com> | 2013-12-24 15:52:17 -0500 |
---|---|---|
committer | Erik Osheim <d_m@plastic-idolatry.com> | 2013-12-24 15:58:50 -0500 |
commit | 2477bbd9d64df3dbfac063e1fc71115daf0f3ea7 (patch) | |
tree | b0dc9f7b266fd4746ddc4eb8393bcf55f7562cb7 /test/files/neg/t6920.scala | |
parent | 9f0594c57716ed551918e15be6da843982e8ba12 (diff) | |
download | scala-2477bbd9d64df3dbfac063e1fc71115daf0f3ea7.tar.gz scala-2477bbd9d64df3dbfac063e1fc71115daf0f3ea7.tar.bz2 scala-2477bbd9d64df3dbfac063e1fc71115daf0f3ea7.zip |
SI-8100 - prevent possible SOE during Stream#flatten.
This commit changes stream flatten to avoid allocating a
stack frame for every stream item. Previously, flattening
a stream whose elements are mostly empty would result in
a StackOverflowException.
This commit also adds a test demonstrating the problem.
Diffstat (limited to 'test/files/neg/t6920.scala')
0 files changed, 0 insertions, 0 deletions