Log Message: |
PIVOT-974: Fix BXMLSerializer to correctly deal with the new Java 8 Nashorn
script engine by doing two things:
1) Accessing global variables needs to be done through the "nashorn.global" object.
2) The "nashorn:mozilla_compat.js" script needs to be loaded first before any
other scripts are executed.
This change implements these two fixes.
This is a merge of revision 1691618 from trunk to branches/2.0.x.
Since we build 2.0.x with Java 6, strictly speaking this change wouldn't be
necessary there, except that a lot of users will be running (not building)
on Java 8 now, since Java 7 is EOL, so this change will actually be necessary
for the 2.0.5 release.
|