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

Provide more diagnostic IAE messages

XMLWordPrintable

    • 5.0
    • b05
    • generic
    • generic
    • Not verified

      Following methods in j.l.Character throws IllegalArgumentException without any message.

          Character.UnicodeBlock.of(cp)
          Character.UnicodeScript.of(cp)
          Character.toChars(cp, char[], int)
          Character.toChars(cp)
          Character.getName(cp)

      Providing more diagnostic messages along with them would be helpful.

      (cf. http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-March/051887.html)

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: