8073779: StackOverflowError called StackOverflowException in javadoc
authorigerasim
Tue, 24 Feb 2015 19:50:17 +0300
changeset 29103 1dbde34ad64c
parent 29102 fa8bbdfd8750
child 29107 e9b83d4118d8
8073779: StackOverflowError called StackOverflowException in javadoc Reviewed-by: martin
jdk/src/java.base/share/classes/java/util/stream/DoubleStream.java
jdk/src/java.base/share/classes/java/util/stream/IntStream.java
jdk/src/java.base/share/classes/java/util/stream/LongStream.java
jdk/src/java.base/share/classes/java/util/stream/Stream.java
--- a/jdk/src/java.base/share/classes/java/util/stream/DoubleStream.java	Tue Feb 24 10:56:48 2015 +0100
+++ b/jdk/src/java.base/share/classes/java/util/stream/DoubleStream.java	Tue Feb 24 19:50:17 2015 +0300
@@ -848,7 +848,7 @@
      * @implNote
      * Use caution when constructing streams from repeated concatenation.
      * Accessing an element of a deeply concatenated stream can result in deep
-     * call chains, or even {@code StackOverflowException}.
+     * call chains, or even {@code StackOverflowError}.
      *
      * @param a the first stream
      * @param b the second stream
--- a/jdk/src/java.base/share/classes/java/util/stream/IntStream.java	Tue Feb 24 10:56:48 2015 +0100
+++ b/jdk/src/java.base/share/classes/java/util/stream/IntStream.java	Tue Feb 24 19:50:17 2015 +0300
@@ -837,7 +837,7 @@
      * @implNote
      * Use caution when constructing streams from repeated concatenation.
      * Accessing an element of a deeply concatenated stream can result in deep
-     * call chains, or even {@code StackOverflowException}.
+     * call chains, or even {@code StackOverflowError}.
      *
      * @param a the first stream
      * @param b the second stream
--- a/jdk/src/java.base/share/classes/java/util/stream/LongStream.java	Tue Feb 24 10:56:48 2015 +0100
+++ b/jdk/src/java.base/share/classes/java/util/stream/LongStream.java	Tue Feb 24 19:50:17 2015 +0300
@@ -845,7 +845,7 @@
      * @implNote
      * Use caution when constructing streams from repeated concatenation.
      * Accessing an element of a deeply concatenated stream can result in deep
-     * call chains, or even {@code StackOverflowException}.
+     * call chains, or even {@code StackOverflowError}.
      *
      * @param a the first stream
      * @param b the second stream
--- a/jdk/src/java.base/share/classes/java/util/stream/Stream.java	Tue Feb 24 10:56:48 2015 +0100
+++ b/jdk/src/java.base/share/classes/java/util/stream/Stream.java	Tue Feb 24 19:50:17 2015 +0300
@@ -1079,7 +1079,7 @@
      * @implNote
      * Use caution when constructing streams from repeated concatenation.
      * Accessing an element of a deeply concatenated stream can result in deep
-     * call chains, or even {@code StackOverflowException}.
+     * call chains, or even {@code StackOverflowError}.
      *
      * @param <T> The type of stream elements
      * @param a the first stream