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

ModelMBeanInfoSupport.setDescriptor(null, "anything") should get exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b38
    • CPU:
      generic
    • OS:
      generic

      Description

      The spec for ModelMBeanInfo.setDescriptor says that if the descriptor type parameter is null, then a RuntimeOperationsException wrapping an IllegalArgumentException should be thrown. But in fact the method returns without doing anything in this case. A comment says that the exception should be thrown and it looks as if the fact that it is not is just an oversight.
      ###@###.### 2003-12-12

        Attachments

          Activity

            People

            Assignee:
            emcmanus Eamonn McManus
            Reporter:
            emcmanus Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: