Hello,

The initial changeset which introduced these the methods String.chars() and String.codePoints(), JDK-8071477 , had the expected @since tags for the time (@since 1.9), but subsequent changes to String seem to have removed them.

Please review the patch below to add them back.

Thanks,

-Joe

--- 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 17:24:42 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() {

Reply via email to