You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Luca Burgazzoli (JIRA)" <ji...@apache.org> on 2016/04/22 14:57:12 UTC
[jira] [Commented] (SM-2441) livetribe-jsr223 ScriptEngineManager
is not same with the one of JDK
[ https://issues.apache.org/jira/browse/SM-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253873#comment-15253873 ]
Luca Burgazzoli commented on SM-2441:
-------------------------------------
Looks like there is a typo here https://github.com/apache/servicemix-specs/blob/master/scripting-api-1.0/src/main/java/javax/script/ScriptEngineManager.java#L87
It should be setBindings
> livetribe-jsr223 ScriptEngineManager is not same with the one of JDK
> --------------------------------------------------------------------
>
> Key: SM-2441
> URL: https://issues.apache.org/jira/browse/SM-2441
> Project: ServiceMix
> Issue Type: Bug
> Components: specs
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: specs-2.5.0
>
>
> ScriptEngineManager in the livetribe-jsr223 has these method
> {code}
> public javax.script.Bindings getGlobalScope();
> public void setGlobalScope(javax.script.Bindings);
> {code}
> But the JSR 223 release version of [ScriptEngineManager|http://docs.oracle.com/javase/7/docs/api/javax/script/ScriptEngineManager.html] change it to
> {code}
> public javax.script.Bindings getBindings();
> public void setBindings(javax.script.Bindings);
> {code}
> We need to find a way to make it right.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)