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

ObjectName(null) should throw NullPointerException not MalformedObjectNameExcept

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b32
    • CPU:
      generic
    • OS:
      generic

      Description

      The various ObjectName constructors are explicitly documented to throw NullPointerException when one or more parameters are null. But in fact they throw MalformedObjectNameException.

      Note that the TCK tests for this erroneous behaviour (bug 4943953) so it will need to be fixed at the same time as the RI.

        Attachments

          Activity

            People

            Assignee:
            lmalvent Luis-Miguel Alventosa (Inactive)
            Reporter:
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: