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

(spec) Description of \p{Print} in Pattern doc is wrong

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b48
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      Name: gm110360 Date: 05/17/2004


      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      In the javadoc for java.util.regex.Pattern, the POSIX character
      class \p{Print} is described as "A printable character: [\p{Graph}]".
      It actually matches everything \p{Graph} does, PLUS the space
      character: [\p{Graph}\x20].


      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 269869)
      ======================================================================
      ###@###.### 11/1/04 20:34 GMT

        Attachments

          Activity

            People

            • Assignee:
              sherman Xueming Shen
              Reporter:
              gmanwanisunw Girish Manwani (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: