Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5066701

Incorrect link to Character.isSpace(char) in String.trim()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b59
    • CPU:
      generic
    • OS:
      solaris_8

      Description

      The javadoc for String.trim() incorrectly links to Character.isSpace(char)
      for the definition of whitespace. This is incorrect; in fact String.trim()
      has its own definition of whitespace that has nothing to do with
      Character.isSpace(char).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mmcclosksunw Michael Mccloskey (Inactive)
              Reporter:
              gafter Neal Gafter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: