[jboss-dev-forums] [Design the new POJO MicroContainer] - JDK6 compile issue
scott.stark@jboss.org
do-not-reply at jboss.com
Wed Feb 27 12:26:57 EST 2008
I mistakingly was using jdk6 to compile the mc, and ran into this compile time incompatibility in the jmx StandardMBean ctor:
| /home/svn/JBossMC/jbossmc/aop-mc-int/src/main/org/jboss/aop/microcontainer/lazy/JBossAOPLazyInitializer.java:[58,58] [deprecation] getType() in org.jboss.reflect.spi.TypeInfo has been deprecated
|
| /home/svn/JBossMC/jbossmc/aop-mc-int/src/main/org/jboss/aop/microcontainer/integration/AOPConstructorJoinpoint.java:[70,58] [deprecation] getType() in org.jboss.reflect.spi.TypeInfo has been deprecated
|
| /home/svn/JBossMC/jbossmc/aop-mc-int/src/main/org/jboss/aop/microcontainer/aspects/jmx/JMXIntroduction.java:[104,44] cannot find symbol
| symbol : constructor StandardMBean(java.lang.Object,java.lang.Class<capture#773 of ?>)
| location: class javax.management.StandardMBean
|
The problem is that StandardMBean changed from StandardMBean(Object ,Class) to StandardMBean(T , Class). Seems like too strict of behavior by the compiler?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132584#4132584
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132584
More information about the jboss-dev-forums
mailing list