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

No Exception thrown by com.sun.jdmk.comm.RemoteMBeanServer.setAttribute() with wrong type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 6
    • core-svc
    • None

      Since precisely Mustang b55, when JavaDMK 5.1 is used to perform a com.sun.jdmk.comm.RemoteMBeanServer.setAttribute() with a wrong value, in place of the expected InvalidAttributeValueException, you do not receive any exception at all.
      By wrong value I mean an attribute of type long we try to set with an int.
      I assume that JavaDMK API delegates to Mustang so that it explains why I see such impact.

            Unassigned Unassigned
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: