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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: