[jboss-cvs] JBossAS SVN: r87839 - projects/microcontainer/trunk/jmx-aop-mc-int/src/test/java/org/jboss/test/system/controller/integration/support.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Apr 25 07:33:04 EDT 2009
Author: alesj
Date: 2009-04-25 07:33:03 -0400 (Sat, 25 Apr 2009)
New Revision: 87839
Modified:
projects/microcontainer/trunk/jmx-aop-mc-int/src/test/java/org/jboss/test/system/controller/integration/support/TestServiceControllerLifecycleCallback.java
Log:
Useful comment.
Modified: projects/microcontainer/trunk/jmx-aop-mc-int/src/test/java/org/jboss/test/system/controller/integration/support/TestServiceControllerLifecycleCallback.java
===================================================================
--- projects/microcontainer/trunk/jmx-aop-mc-int/src/test/java/org/jboss/test/system/controller/integration/support/TestServiceControllerLifecycleCallback.java 2009-04-25 11:31:39 UTC (rev 87838)
+++ projects/microcontainer/trunk/jmx-aop-mc-int/src/test/java/org/jboss/test/system/controller/integration/support/TestServiceControllerLifecycleCallback.java 2009-04-25 11:33:03 UTC (rev 87839)
@@ -80,6 +80,7 @@
intfClass = jmx.exposedInterface();
registerDirectly = jmx.registerDirectly();
}
+ // NOTE: The cast to Class is necessary for compilation under JDK6
Object mbean = (registerDirectly ? context.getTarget() : new StandardMBean(context.getTarget(), (Class) intfClass));
mbeanServer.registerMBean(mbean, objectName);
try
More information about the jboss-cvs-commits
mailing list