JDK-8024352 : MBeanOperationInfo accepts any int value as "impact"
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2013-09-05
  • Updated: 2019-08-16
  • Resolved: 2017-11-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10 b34Fixed
Related Reports
CSR :  
Relates :  
Sub Tasks
JDK-8191147 :  
Description
The Javadoc of MBeanOperationInfo constructor declares:
            impact - The impact of the method, one of INFO, ACTION, ACTION_INFO, UNKNOWN.

but you can pass any int value to a constructor.