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

stephen mallette reopened TINKERPOP3-582:
-----------------------------------------

Seems like there is some unfinished business here.  Variables aren't getting 
registered properly on ScriptEngine initialization when sandboxing is 
on....getting this junk:

{code}
Script1.groovy: 23: [Static type checking] - The variable [hook] is undeclared.
 @ line 23, column 1.
   hook = [
   ^

Script1.groovy: 25: [Static type checking] - No such property: logger for 
class: java.lang.Object
 @ line 25, column 5.
       ctx.logger.info("Executed once at startup of Gremlin Server.")
       ^

Script1.groovy: 28: [Static type checking] - No such property: logger for 
class: java.lang.Object
 @ line 28, column 5.
       ctx.logger.info("Executed once at shutdown of Gremlin Server.")
       ^

Script1.groovy: 33: [Static type checking] - The variable [g] is undeclared.
 @ line 33, column 1.
   g = graph.traversal()
   ^
{code}

> Remove Groovy Sandbox Dependency
> --------------------------------
>
>                 Key: TINKERPOP3-582
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-582
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: groovy
>    Affects Versions: 3.0.0-incubating
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>             Fix For: 3.0.1-incubating, 3.1.0-incubating
>
>
> Look into removing the Groovy Sandbox dependency from {{gremlin-groovy}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to