You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't make this run using JDK 8.0_131 (x64).
Here is the stack trace :
Exception in thread "main" java.lang.ArrayStoreException: jdk.nashorn.internal.runtime.Undefined
at jdk.nashorn.internal.runtime.arrays.ObjectArrayData.setEmpty(ObjectArrayData.java:161)
at jdk.nashorn.internal.runtime.arrays.ObjectArrayData.delete(ObjectArrayData.java:228)
at jdk.nashorn.internal.runtime.ScriptObject.delete(ScriptObject.java:3309)
at jdk.nashorn.internal.objects.NativeArray.shift(NativeArray.java:1170)
at jdk.nashorn.internal.scripts.Script$13$^eval_.:program(:32)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:449)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:406)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402)
at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:150)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:249)
at uglify.UglifyJS.run(UglifyJS.java:75)
at uglify.UglifyJS.exec(UglifyJS.java:50)
at uglify.ant.UglifyTask.execute(UglifyTask.java:237)
at uglify.ant.UglifyTask.main(UglifyTask.java:37)
I tried with an old JDK6u45 (x64) -> too old
I tried with JDK 7.0.40:
Ok if I run from main
Nok if I run from ant task (uglify is not defined):
[uglify] javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: Cannot modify a property of a sealed object: remove. (#12) in at line number 12
[uglify] Caused by: sun.org.mozilla.javascript.internal.EvaluatorException: Cannot modify a property of a sealed object: remove. (#12)
I couldn't make this run using JDK 8.0_131 (x64).
Here is the stack trace :
Exception in thread "main" java.lang.ArrayStoreException: jdk.nashorn.internal.runtime.Undefined
at jdk.nashorn.internal.runtime.arrays.ObjectArrayData.setEmpty(ObjectArrayData.java:161)
at jdk.nashorn.internal.runtime.arrays.ObjectArrayData.delete(ObjectArrayData.java:228)
at jdk.nashorn.internal.runtime.ScriptObject.delete(ScriptObject.java:3309)
at jdk.nashorn.internal.objects.NativeArray.shift(NativeArray.java:1170)
at jdk.nashorn.internal.scripts.Script$13$^eval_.:program(:32)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:449)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:406)
at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402)
at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:150)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:249)
at uglify.UglifyJS.run(UglifyJS.java:75)
at uglify.UglifyJS.exec(UglifyJS.java:50)
at uglify.ant.UglifyTask.execute(UglifyTask.java:237)
at uglify.ant.UglifyTask.main(UglifyTask.java:37)
I tried with an old JDK6u45 (x64) -> too old
I tried with JDK 7.0.40:
Ok if I run from main
Nok if I run from ant task (uglify is not defined):
[uglify] javax.script.ScriptException: sun.org.mozilla.javascript.internal.EvaluatorException: Cannot modify a property of a sealed object: remove. (#12) in at line number 12
[uglify] Caused by: sun.org.mozilla.javascript.internal.EvaluatorException: Cannot modify a property of a sealed object: remove. (#12)
[uglify] javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "uglify" n'est pas défini (it seems UglifyJS-java can't read non-ASCII characters in UTF8 files #1) in at line number 1
[uglify] Caused by: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "uglify" n'est pas défini (it seems UglifyJS-java can't read non-ASCII characters in UTF8 files #1)
The text was updated successfully, but these errors were encountered: