[jboss-jira] [JBoss JIRA] (WFLY-4354) EJBs can't inherit a JDK8 default method
Jan Martiska (JIRA)
issues at jboss.org
Tue Feb 17 02:28:49 EST 2015
[ https://issues.jboss.org/browse/WFLY-4354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040737#comment-13040737 ]
Jan Martiska commented on WFLY-4354:
------------------------------------
That doesn't seem to change anything for me.
Where did you find about that flag private static final int DEFAULT = 0x0200; ? It doesn't seem to exist in my JDK (8u31).
I don't see any reference to it in the JVM specification either: http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.6 - there is only a 0x02 ACC_INTERFACE flag which tells that a class is an interface.
A method inherited from a default method only shows public(0x0001) modifier for me, there is no sign that it comes from a default implementation.
> EJBs can't inherit a JDK8 default method
> ----------------------------------------
>
> Key: WFLY-4354
> URL: https://issues.jboss.org/browse/WFLY-4354
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Affects Versions: 9.0.0.Alpha1
> Reporter: Jan Martiska
> Assignee: David Lloyd
>
> If an EJB bean inherits a default method from an interface and doesn't override it, attempt to call this method fails with:
> {noformat}
> org.jboss.invocation.CannotProceedException: INV000002: Invocation cannot proceed (end of interceptor chain has been hit)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list