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

UUID.fromString throws NumberFormatException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Not an Issue
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_9

      Description

      The fromString method throws a NumberFormatException from java.lang.Long. Perhaps it should throw IllegalArgumentException instead even though NFE does extend IAE. The information from Long could be passed along or the NFE could be set as the cause.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mduigou Michael Duigou
                Reporter:
                mmcclosksunw Michael Mccloskey (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: