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

Martin Buchholz martinrb at google.com
Thu Sep 3 19:05:00 PDT 2009


Joe, here's a fix for the stray double quote.

I've used {@code with \u005C with the hope of making Ulf happy.

As usual, we'll need bug filed, etc...

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>.


More information about the serviceability-dev mailing list