[ 
https://issues.apache.org/jira/browse/SCXML-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ate Douma closed SCXML-263.
---------------------------
    Resolution: Fixed

> Javascript engine (Nashorn) cannot be shared between multiple SCXML instance 
> executions
> ---------------------------------------------------------------------------------------
>
>                 Key: SCXML-263
>                 URL: https://issues.apache.org/jira/browse/SCXML-263
>             Project: Commons SCXML
>          Issue Type: Bug
>            Reporter: Ate Douma
>            Assignee: Ate Douma
>             Fix For: 2.0
>
>
> When an SCXML statemachine using the "ecmascript" datamodel invokes 
> (<invoke>) another SCXML statemachine, the Javascript global context must not 
> be shared between them.
> The JSEvaluator therefore cannot (anymore) use a static instance of the 
> Nashorn engine but must be created per JSEvaluator instance.
> SCXML users should therefore need to make sure not to reuse/share a 
> pre-defined JSEvaluator for multiple SCXML statemachine executions!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to