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

Provide more diagnostic IAE messages

    Details

    • Subcomponent:
    • Introduced In Version:
      5.0
    • Resolved In Build:
      b05
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: