1 /*2 * JBoss, the OpenSource J2EE webOS3 *4 * Distributable under LGPL license.5 * See terms of license at gnu.org.6 */7 8 package test.compliance.server.support;9 10 import javax.management.ObjectName;11 import javax.management.MalformedObjectNameException;12 13 /**14 * Support class which fails with an error in static initializer.15 *16 * @author <a HREF="mailto:juha@jboss.org">Juha Lindfors</a>.17 * @version $Revision: 1.1 $18 * 19 */20 public class ConstructorTest521 {22 23 static24 {25 try26 {27 new ObjectName(":");28 }29 catch (MalformedObjectNameException e)30 {31 throw new BabarError();32 }33 }34 35 }36 37 38 39 40