JDK-6879368 : Remove stray quote in Character javadoc
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-09-04
  • Updated: 2010-04-02
  • Resolved: 2009-09-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b72Fixed
Related Reports
Relates :  
Description
The previous bug fix for 6628737 introduced a stray quote into Character.java.  That quote should be removed.

Comments
SUGGESTED FIX # HG changeset patch # User martin # Date 1252097076 25200 # Node ID 704296144175f9542617ee42018276ae89b24c22 # Parent c34f92a4724597e51955b09e3dff2a15c39e64f7 6879368: Remove stray quote in Character javadoc Summary: Remove stray quote in Character.valueOf javadoc, using Ulf's \u005CuXXXX technique Reviewed-by: darcy --- a/src/share/classes/java/lang/Character.java Fri Sep 04 13:11:17 2009 -0700 +++ b/src/share/classes/java/lang/Character.java Fri Sep 04 13:44:36 2009 -0700 @@ -2587,9 +2587,9 @@ class Character extends Object implement * significantly better space and time performance by caching * frequently requested values. * - * This method will always cache values in the range '&#92;u0000' - * to '&#92;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>.
04-09-2009

PUBLIC COMMENTS See http://hg.openjdk.java.net/jdk7/tl/jdk/rev/704296144175
04-09-2009

EVALUATION A fine idea.
04-09-2009