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

ObjectName(null) should throw NullPointerException not MalformedObjectNameExcept

XMLWordPrintable

    • b32
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: