hg: jdk/hs: 8024352: MBeanOperationInfo accepts any int value as "impact"

nishit.jain at oracle.com nishit.jain at oracle.com
Fri Nov 17 05:43:04 UTC 2017

Changeset: da4fb7d2f917
Author:    uvangapally
Date:      2017-11-17 11:08 +0530
URL:       http://hg.openjdk.java.net/jdk/hs/rev/da4fb7d2f917

8024352: MBeanOperationInfo accepts any int value as "impact"
Summary: MBeanOperationInfo throw an llegalArgumentException if the impact argument is not among the defined values
Reviewed-by: rriggs, dfuchs, mchung
Contributed-by: ujwal.vangapally at oracle.com

! src/java.management/share/classes/javax/management/MBeanOperationInfo.java
! test/jdk/javax/management/MBeanInfo/MBeanInfoHashCodeNPETest.java
+ test/jdk/javax/management/mxbean/MBeanOperationInfoImpactRangeTest.java

More information about the jdk-hs-changes mailing list