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

RuntimeException in RuntimeMBeanException

    Details

      Description

      Name: vrR10176 Date: 06/07/2004



      After the fix of the bug 5035217 an instance of StandardMBean's
      RuntimeException (thrown when the getAttribute, setAttribute,
      or invoke methods of MBeanServer are executed) is wrapped in a
      RuntimeMBeanException which is itself wrapped one more time in a
      RuntimeMBeanException. But the CCC request 5035217 proposed a
      solution:

      "The proposed change is for all three types of MBean (Standard
      MBeans, Dynamic MBeans, and instances of StandardMBean) to have
      the same behaviour: a RuntimeException is wrapped in a
      RuntimeMBeanException. This is the behaviour that was already
      present for Standard MBeans. It represents a change for the other
      two types."

      So the fix of the bug 5035217 is incomplete. An StandardMBean's
      RuntimeException should be wrapped in a RuntimeMBeanException only
      one time.

      This bug causes failures of about 50 JCK1.5-fcs testcases and
      should be fixed asap.

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mchung Mandy Chung
                Reporter:
                rslasunw Rsla Rsla (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: