diff --git a/process/getDocxDocument_serverProcess/process.js b/process/getDocxDocument_serverProcess/process.js index 15d8e584df5bff512fce07e3aae69331fbfbef5e..80f0a37b65861c40c52c05451875f6f38e69de94 100644 --- a/process/getDocxDocument_serverProcess/process.js +++ b/process/getDocxDocument_serverProcess/process.js @@ -4,6 +4,13 @@ import("system.swing"); import("system.fileIO"); import("system.util"); +/* + Override the definition of the IntegerArrays, because Rhino does not fully support these TypedArrays. + The zip- and tempalter- lib check if these TypedArrays are defined: + If not, other datatypes are used as an alternative way to achieve the goal. If the datatypes exist they are used due to better Performance. + Therefor make them not existant so that the alternative is used. + This should not cause any problems in other situations since this is a serverProcess and not code that is imported somewhere else. + */ Int8Array = undefined; Uint8Array = undefined; Uint8ClampedArray = undefined;