[
http://jira.jboss.com/jira/browse/JBMETA-15?page=comments#action_12416519 ]
Alexey Loubyansky commented on JBMETA-15:
-----------------------------------------
Following the description, I created a test which doesn't reproduce the issue. Andrew
can you check it on your machine? Thanks.
Default interface is not defined when class hierarchy for implemented
interfaces has >1 interface
-------------------------------------------------------------------------------------------------
Key: JBMETA-15
URL:
http://jira.jboss.com/jira/browse/JBMETA-15
Project: JBoss Metadata
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Andrew Lee Rubinger
Assigned To: Alexey Loubyansky
Priority: Blocker
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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira