changeset 47661:30186b6741b8

8189952: New methods on String: chars() and codePoints() should be marked since 9 Reviewed-by: bpb
author darcy
date Thu, 26 Oct 2017 18:04:29 -0700
parents b1b37e21fb6f
children 36de9c637393
files src/java.base/share/classes/java/lang/String.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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() {