hg: jdk7/tl/jdk: 6860431: Character.isSurrogate(char ch)

Joseph D. Darcy Joe.Darcy at Sun.COM
Fri Sep 4 13:34:26 PDT 2009


Hello.

Martin Buchholz wrote:
> Joe, here's a fix for the stray double quote.
>   

Mea culpa!

> I've used {@code with \u005C with the hope of making Ulf happy.
>
> As usual, we'll need bug filed, etc...
>   

I've filed bug 6879368 "Remove stray quote in Character javadoc" for 
this issue.

> diff --git a/src/share/classes/java/lang/Character.java
> b/src/share/classes/java/lang/Character.java
> --- a/src/share/classes/java/lang/Character.java
> +++ b/src/share/classes/java/lang/Character.java
> @@ -2587,9 +2587,9 @@
>       * significantly better space and time performance by caching
>       * frequently requested values.
>       *
> -     * This method will always cache values in the range '\u0000'
> -     * to '\u007f'", inclusive, and may cache other values outside
> -     * of this range.
> +     * This method will always cache values in the range {@code
> +     * '\u005Cu0000'} to {@code '\u005Cu007f'}, inclusive, and may
> +     * cache other values outside of this range.
>       *
>       * @param  c a char value.
>       * @return a <tt>Character</tt> instance representing <tt>c</tt>.
>   


I approve this going back.

Thanks,

-Joe


More information about the serviceability-dev mailing list