在 Java SE 11 中,当提供的 impact 不是 INFO、ACTION、ACTION_INFO 或 UNKNOWN 之一时,javax.management.MBeanOperationInfo 构造函数现在会抛出 IllegalArgumentException。
impact
INFO
ACTION
ACTION_INFO
UNKNOWN
javax.management.MBeanOperationInfo
IllegalArgumentException
有关更多信息,请参阅 Java 10 Removed Features and Options。