/*
* @test
* @bug 6471865 6675768
* @summary DescriptorSupport constructors throw IAE when traces are enabled;
* RequiredModelMBean.addAttributeChangeNotificationListener throws exception
* when traces enabled and no attributes.
* @author Luis-Miguel Alventosa
* @author Paul Cheeseman
*/
public class LoggingExceptionTest {
"DescriptorSupport()",
"DescriptorSupport(int)",
"DescriptorSupport(String)",
"DescriptorSupport(String...)",
"DescriptorSupport(String[], Object[])",
"DescriptorSupport(DescriptorSupport)",
"RequiredModelMBean.addAttributeChangeNotificationListener",
};
try {
switch (i) {
case 0:
ds = new DescriptorSupport();
break;
case 1:
break;
case 2:
break;
case 3:
break;
case 4:
break;
case 5:
break;
case 6:
};
break;
default:
throw new AssertionError();
}
}
} catch (Exception e) {
throw new IllegalArgumentException(msg);
}
}
}