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

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

    Details

      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

            • Assignee:
              Unassigned
              Reporter:
              jbachorik Jaroslav BachorĂ­k
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: