{"push_id":961308881,"size":1,"distinct_size":1,"ref":"refs/heads/trunk","head":"e4f1f50cab7ceedc864979519bf578edfa3dcd9d","before":"68c1b73f0763f18369482bc18e9a4ddbb9c7acdf","commits":[{"sha":"e4f1f50cab7ceedc864979519bf578edfa3dcd9d","author":{"email":"9d49f43d99538103edafbbaa2464bccccd95bf86@apache.org","name":"Roger Lee Whitcomb"},"message":"PIVOT-965:  Fix an issue with Java 8 (Nashorn script engine) and the way\nwe deal with included scripts.  The problem is that in creating the new\nserializer for the included script, the script engine ends up creating a\nnew \"nashorn.global\" context, which does not include any previous defined\nvariables or functions.  This new context persists as the current \"global\"\ncontext after the included script has been read.  Then when attempting to\nlook up any variables/functions defined before the \"include\" they won't be\nfound.\n\nThe \"solution\" (or workaround) is to detect when the new global context is\nbeing established and copy the old definitions into it.  Now, that sort of\nbegs the question as to:\n* Is this the right place to do this?\n* What about the situation when \"inline\" is false for the included script?\n* What about multiple includes?\n* What about nested includes?\n\nThese are still unanswered questions needing more research.  So, for now,\njust add the workaround (and some of the debug code still there, but\ncommented out).\n\n\ngit-svn-id: https://svn.apache.org/repos/asf/pivot/trunk@1728247 13f79535-47bb-0310-9956-ffa450edef68","distinct":true,"url":"https://api.github.com/repos/apache/pivot/commits/e4f1f50cab7ceedc864979519bf578edfa3dcd9d"}]}