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

Accurate error message about bad Unicode block name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • None
    • core-libs

      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.

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

              Created:
              Updated:
              Resolved: