XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • core-libs
    • None
    • b100
    • Verified

      jjs> Function("return function (x) { return true } ( /x/ ) >> window;");
      Compiling threw: java.lang.AssertionError: boolean is not an integer or long
      java.lang.AssertionError: boolean is not an integer or long
          at jdk.nashorn.internal.codegen.MethodEmitter.popInteger(MethodEmitter.java:269)
          at jdk.nashorn.internal.codegen.MethodEmitter.sar(MethodEmitter.java:581)
          at jdk.nashorn.internal.codegen.CodeGenerator$26.op(CodeGenerator.java:2799)
          at jdk.nashorn.internal.codegen.CodeGenerator$BinaryArith.evaluate(CodeGenerator.java:2618)
          at jdk.nashorn.internal.codegen.CodeGenerator.enterSAR(CodeGenerator.java:2801)
          at jdk.nashorn.internal.ir.visitor.NodeOperatorVisitor.enterBinaryNode(NodeOperatorVisitor.java:185)
          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 ...

            lagergren Marcus Lagergren
            lagergren Marcus Lagergren
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: