8189952: New methods on String: chars() and codePoints() should be marked since 9
Reviewed-by: bpb
--- a/src/java.base/share/classes/java/lang/String.java Thu Oct 26 17:06:52 2017 -0700
+++ b/src/java.base/share/classes/java/lang/String.java Thu Oct 26 18:04:29 2017 -0700
@@ -2664,6 +2664,7 @@
* point</a> is passed through uninterpreted.
*
* @return an IntStream of char values from this sequence
+ * @since 9
*/
@Override
public IntStream chars() {
@@ -2683,6 +2684,7 @@
* {@code int} values which are then passed to the stream.
*
* @return an IntStream of Unicode code points from this sequence
+ * @since 9
*/
@Override
public IntStream codePoints() {