-
Sub-task
-
Resolution: Not an Issue
-
P4
-
None
-
None
-
None
-
Verified
jjs> Function("/*infloop*/while(((function ()4.)([z1,,], [,,]) - true++))switch(1e+81.x) { default: break; \u0009 }");
Compiling threw: java.lang.AssertionError: expecting equivalent types on stack but got double and int
java.lang.AssertionError: expecting equivalent types on stack but got double and int
at jdk.nashorn.internal.codegen.MethodEmitter.get2n(MethodEmitter.java:1600)
at jdk.nashorn.internal.codegen.MethodEmitter.sub(MethodEmitter.java:1622)
at jdk.nashorn.internal.codegen.CodeGenerator$29.op(CodeGenerator.java:2836)
at jdk.nashorn.internal.codegen.CodeGenerator$BinaryArith.evaluate(CodeGenerator.java:2618)
at jdk.nashorn.internal.codegen.CodeGenerator.enterSUB(CodeGenerator.java:2838)
at jdk.nashorn.internal.ir.visitor.NodeOperatorVisitor.enterBinaryNode(NodeOperatorVisitor.java:191)
at jdk.nashorn.internal.ir.BinaryNode.accept(BinaryNode.java:164)
at jdk.nashorn.internal.codegen.CodeGenerator$1.enterDefault(CodeGenerator.java:408)
at jdk.nashorn.internal.ir.visitor.NodeVisitor.enterBinaryNode(NodeVisitor.java:177)
at jdk.nashorn.internal.ir.BinaryNode.accept(BinaryNode.java:164)
at ...
Compiling threw: java.lang.AssertionError: expecting equivalent types on stack but got double and int
java.lang.AssertionError: expecting equivalent types on stack but got double and int
at jdk.nashorn.internal.codegen.MethodEmitter.get2n(MethodEmitter.java:1600)
at jdk.nashorn.internal.codegen.MethodEmitter.sub(MethodEmitter.java:1622)
at jdk.nashorn.internal.codegen.CodeGenerator$29.op(CodeGenerator.java:2836)
at jdk.nashorn.internal.codegen.CodeGenerator$BinaryArith.evaluate(CodeGenerator.java:2618)
at jdk.nashorn.internal.codegen.CodeGenerator.enterSUB(CodeGenerator.java:2838)
at jdk.nashorn.internal.ir.visitor.NodeOperatorVisitor.enterBinaryNode(NodeOperatorVisitor.java:191)
at jdk.nashorn.internal.ir.BinaryNode.accept(BinaryNode.java:164)
at jdk.nashorn.internal.codegen.CodeGenerator$1.enterDefault(CodeGenerator.java:408)
at jdk.nashorn.internal.ir.visitor.NodeVisitor.enterBinaryNode(NodeVisitor.java:177)
at jdk.nashorn.internal.ir.BinaryNode.accept(BinaryNode.java:164)
at ...