JDK 10 RFR of JDK-8189952: New methods on String: chars() and codePoints() should be marked since 9
Paul Sandoz
paul.sandoz at oracle.com
Fri Oct 27 03:38:31 UTC 2017
> On 26 Oct 2017, at 17:24, joe darcy <joe.darcy at oracle.com> wrote:
>
> 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.
>
+1
Paul.
> 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() {
>
More information about the core-libs-dev
mailing list