[
https://issues.jboss.org/browse/WFLY-4354?page=com.atlassian.jira.plugin....
]
Jan Martiska commented on WFLY-4354:
------------------------------------
With that new fix (42fe260c) I get:
- in case where the EJB inherits the default method directly - the same as I mentioned in
a comment earlier:
{noformat}
java.lang.IllegalStateException: WFLYEE0067: Method does not exist public default
java.lang.String Doge.sayWow()
{noformat}
- in case of inheritance over a third interface: still the same
org.jboss.invocation.CannotProceedException as in the description.
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
Attachments: defaultmethodejb.jar
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)