[ https://issues.apache.org/jira/browse/GROOVY-9430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun updated GROOVY-9430: ------------------------------- Description: https://github.com/apache/groovy/pull/1178 Based on documentation : https://docs.oracle.com/en/java/javase/11/docs/api/java.scripting/javax/script/ScriptEngine.html#FILENAME and Nashorn behaviour, setting in the bindings a String value with ScriptEngine.FILENAME as key should affect the filename used for the script. This patch implements the behaviour. > Added support for ScriptEngine.FILENAME behaviour > ------------------------------------------------- > > Key: GROOVY-9430 > URL: https://issues.apache.org/jira/browse/GROOVY-9430 > Project: Groovy > Issue Type: Improvement > Reporter: Daniel Sun > Priority: Major > > https://github.com/apache/groovy/pull/1178 > Based on documentation : > https://docs.oracle.com/en/java/javase/11/docs/api/java.scripting/javax/script/ScriptEngine.html#FILENAME > and Nashorn behaviour, setting in the bindings a String value with > ScriptEngine.FILENAME as key should affect the filename used for the script. > This patch implements the behaviour. -- This message was sent by Atlassian Jira (v8.3.4#803005)