-
Bug
-
Resolution: Fixed
-
P3
-
8u40
-
b42
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085548 | emb-9 | Marcus Lagergren | P3 | Resolved | Fixed | team |
JDK-8067626 | 8u45 | Marcus Lagergren | P3 | Resolved | Fixed | b01 |
JDK-8066144 | 8u40 | Marcus Lagergren | P3 | Resolved | Fixed | b17 |
JDK-8070532 | emb-8u47 | Marcus Lagergren | P3 | Resolved | Fixed | team |
This test is broken in my development branch, the problem is that when it breaks, it throws a type error that requests a message ID that doesn't exist. We should add it and correct the type error throwing code
zann:make marcus$ n -i ../test/script/basic/dataview_endian.js
Exception in thread "main" java.lang.RuntimeException: no message resource found for message id: type.error.not.an.arraybuffer
at jdk.nashorn.internal.runtime.ECMAErrors.getMessage(ECMAErrors.java:389)
at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:212)
at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:185)
at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:172)
at jdk.nashorn.internal.objects.NativeDataView.checkSelf(NativeDataView.java:998)
at jdk.nashorn.internal.objects.NativeDataView.getBuffer(NativeDataView.java:1004)
at jdk.nashorn.internal.objects.NativeDataView.getBuffer(NativeDataView.java:1012)
at jdk.nashorn.internal.objects.NativeDataView.getBuffer(NativeDataView.java:1008)
at jdk.nashorn.internal.objects.NativeDataView.setUint16(NativeDataView.java:711)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:670)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:229)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:389)
at jdk.nashorn.internal.ir.CallNode.interpret(CallNode.java:389)
at jdk.nashorn.internal.ir.ExpressionStatement.interpret(ExpressionStatement.java:102)
at jdk.nashorn.internal.ir.Block.interpret(Block.java:439)
at jdk.nashorn.internal.ir.FunctionNode.callInner(FunctionNode.java:1305)
at jdk.nashorn.internal.ir.FunctionNode.call(FunctionNode.java:1329)
at jdk.nashorn.internal.ir.FunctionNode.callDebug(FunctionNode.java:1336)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:635)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:229)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:389)
at jdk.nashorn.internal.ir.CallNode.interpret(CallNode.java:389)
at jdk.nashorn.tools.Shell.runScripts(Shell.java:378)
at jdk.nashorn.tools.Shell.run(Shell.java:172)
at jdk.nashorn.tools.Shell.main(Shell.java:136)
zann:make marcus$ n -i ../test/script/basic/dataview_endian.js
Exception in thread "main" java.lang.RuntimeException: no message resource found for message id: type.error.not.an.arraybuffer
at jdk.nashorn.internal.runtime.ECMAErrors.getMessage(ECMAErrors.java:389)
at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:212)
at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:185)
at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:172)
at jdk.nashorn.internal.objects.NativeDataView.checkSelf(NativeDataView.java:998)
at jdk.nashorn.internal.objects.NativeDataView.getBuffer(NativeDataView.java:1004)
at jdk.nashorn.internal.objects.NativeDataView.getBuffer(NativeDataView.java:1012)
at jdk.nashorn.internal.objects.NativeDataView.getBuffer(NativeDataView.java:1008)
at jdk.nashorn.internal.objects.NativeDataView.setUint16(NativeDataView.java:711)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:670)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:229)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:389)
at jdk.nashorn.internal.ir.CallNode.interpret(CallNode.java:389)
at jdk.nashorn.internal.ir.ExpressionStatement.interpret(ExpressionStatement.java:102)
at jdk.nashorn.internal.ir.Block.interpret(Block.java:439)
at jdk.nashorn.internal.ir.FunctionNode.callInner(FunctionNode.java:1305)
at jdk.nashorn.internal.ir.FunctionNode.call(FunctionNode.java:1329)
at jdk.nashorn.internal.ir.FunctionNode.callDebug(FunctionNode.java:1336)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:635)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:229)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:389)
at jdk.nashorn.internal.ir.CallNode.interpret(CallNode.java:389)
at jdk.nashorn.tools.Shell.runScripts(Shell.java:378)
at jdk.nashorn.tools.Shell.run(Shell.java:172)
at jdk.nashorn.tools.Shell.main(Shell.java:136)
- backported by
-
JDK-8066144 Missing resource type.error.not.an.arraybuffer
-
- Resolved
-
-
JDK-8067626 Missing resource type.error.not.an.arraybuffer
-
- Resolved
-
-
JDK-8070532 Missing resource type.error.not.an.arraybuffer
-
- Resolved
-
-
JDK-8085548 Missing resource type.error.not.an.arraybuffer
-
- Resolved
-