Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
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.