[jboss-jira] [JBoss JIRA] (WFLY-11369) violation of call-by-value if a outbound connection is configured

Flavia Rainone (Jira) issues at jboss.org
Fri Nov 16 22:55:00 EST 2018


     [ https://issues.jboss.org/browse/WFLY-11369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Flavia Rainone deleted WFLY-11369:
----------------------------------


> violation of call-by-value if a outbound connection is configured
> -----------------------------------------------------------------
>
>                 Key: WFLY-11369
>                 URL: https://issues.jboss.org/browse/WFLY-11369
>             Project: WildFly
>          Issue Type: Bug
>            Reporter: Flavia Rainone
>            Assignee: Flavia Rainone
>            Priority: Blocker
>
> If the server default configuration is used an EJB invocation via @Remote interface is, according to the specification, with call-by-value.
> But if the application is configured with jboss-ejb-client.xml to have a remote-outbound-connection the EJB invocation via @Remote is done as call-by-reference no matter whether the configuration is default or
> <in-vm-remote-interface-invocation pass-by-value="true"/>
> is used when it invokes an inVM EJB.
> This is a violation of the specification and can cause serious unexpected issues at runtime for the application if the parameters or return values are mutable



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list