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

Accurate error message about bad Unicode block name

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:

      Description

      When Pattern.compile("\\p{InBadBlockName}") encounters the error due to wrong Unicode block name, it issues the message of the form:
      """
      Unknown character property name {In/IsInBadBlockName} near index NN
      """
      so the prefix "In" of the block name is repeated twice.

        Attachments

          Activity

            People

            • Assignee:
              igerasim Ivan Gerasimov
              Reporter:
              igerasim Ivan Gerasimov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: