-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
-
None
Assuming:
abstract class Parent implements InterfaceA
class Child extends Parent implements InterfaceB
...the default interface for Child should be InterfaceB as the hierarchy should not be included. The following error is encountered:
java.lang.IllegalArgumentException: Class class org.Child does not have a default interface
at org.jboss.metadata.lang.ClassHelper.getDefaultInterface(ClassHelper.java:65)
at org.jboss.metadata.annotation.creator.ejb.LocalProcessor.process(LocalProcessor.java:82)
at org.jboss.metadata.annotation.creator.ejb.LocalProcessor.process(LocalProcessor.java:42)
at org.jboss.metadata.annotation.creator.AbstractComponentProcessor.processClass(AbstractComponentProcessor.java:234)
at org.jboss.metadata.annotation.creator.AbstractComponentProcessor.processClass(AbstractComponentProcessor.java:202)
at org.jboss.metadata.annotation.creator.ejb.AbstractEnterpriseBeanProcessor.process(AbstractEnterpriseBeanProcessor.java:98)
at org.jboss.metadata.annotation.creator.ejb.AbstractEnterpriseBeanProcessor.process(AbstractEnterpriseBeanProcessor.java:50)
at org.jboss.metadata.annotation.creator.ejb.EjbJar30Creator.create(EjbJar30Creator.java:68)
at org.jboss.deployment.AnnotationMetaDataDeployer.processJBossMetaData(AnnotationMetaDataDeployer.java:214)
at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:183)
at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:90)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
... 64 more