[jboss-jira] [JBoss JIRA] (WFLY-2949) Cannot get exception as pass-by-reference
David Lloyd (JIRA)
issues at jboss.org
Tue Feb 18 10:31:48 EST 2014
[ https://issues.jboss.org/browse/WFLY-2949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12945600#comment-12945600 ]
David Lloyd commented on WFLY-2949:
-----------------------------------
The patch looks OK to me. It is however worth pointing out for posterity that all {{Throwable}}s implement Serializable; the problem here is likely some field within a custom exception subtype that is in turn not serializable, so this is not a common case.
> Cannot get exception as pass-by-reference
> -----------------------------------------
>
> Key: WFLY-2949
> URL: https://issues.jboss.org/browse/WFLY-2949
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: EJB
> Affects Versions: 8.0.0.Final
> Reporter: Osamu Nagano
> Assignee: David Lloyd
>
> Despite of {{<in-vm-remote-interface-invocation pass-by-value="false"/>}}, an exception is not thrown by reference, which results in {{java.io.NotSerializableException}} if the exception doesn't implement {{Serializable}}. This is a blocker of a large migration project from WebLogic because it throws by reference even if that doesn't implement {{Serializable}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list