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

javax.management.modelmbean.RequiredModelMBean#invoke() wraps SecurityException instances into RuntimeOperationsException contradicting the javadoc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P5
    • None
    • None
    • core-svc

    Description

      JavaDoc for javax.management.modelmbean.RequiredModelMBean#invoke() states that the RuntimeOperationsException wrappers are to be used for wrapping IllegalArgumentException only.

      However, current implementation uses the RuntimeOperationsException as a SecurityException wrapper too. The javadoc and the implementation needs to be brought in sync.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jbachorik Jaroslav BachorĂ­k
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: