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

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P5
    • None
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: