Skip to content

NegativeArraySizeException while parsing Heredoc in irb in JRuby 9.4.8.0 #8355

@jva

Description

@jva

irb fails with Unhandled Java exception: java.lang.NegativeArraySizeException: -3 and exits when I paste a short method with Heredocs syntax. This worked fine in JRuby 9.3.15.0.

Environment Information

  • JRuby version
jruby 9.4.8.0 (3.1.4) 2024-07-02 4d41e55a67 OpenJDK 64-Bit Server VM 17.0.8.1+1 on 17.0.8.1+1 +jit [arm64-darwin]
  • MacOS 13.4

Expected Behavior

Open irb in terminal, paste the method, method gets defined. The code being pasted:

  def test
    puts <<~TXT
      12
        12345678901234567890123
    TXT
  end
╰─○ jruby -v
jruby 9.3.15.0 (2.6.8) 2024-06-26 28bea01242 OpenJDK 64-Bit Server VM 17.0.8.1+1 on 17.0.8.1+1 +jit [arm64-darwin]
(base) ╭─jva at MacBook Pro in ~ using ‹jruby-9.3.15.0›
╰─○ irb
jruby-9.3.15.0 :001 >   def test
jruby-9.3.15.0 :002?>       puts <<~TXT
jruby-9.3.15.0 :003">       12
jruby-9.3.15.0 :004">         12345678901234567890123
jruby-9.3.15.0 :005">     TXT
jruby-9.3.15.0 :006?>     end
 => :test

Actual Behavior

The pasted text does no appear, console fails with Java exception and exits.

╰─○ jruby -v
jruby 9.4.8.0 (3.1.4) 2024-07-02 4d41e55a67 OpenJDK 64-Bit Server VM 17.0.8.1+1 on 17.0.8.1+1 +jit [arm64-darwin]
(base) ╭─jva at MacBook Pro in ~ using ‹jruby-9.4.8.0›
╰─○ irb
jruby-9.4.8.0 :001 >



                     Unhandled Java exception: java.lang.NegativeArraySizeException: -3
java.lang.NegativeArraySizeException: -3
                   prepareMessage at org/jruby/lexer/yacc/RubyLexer.java:496
                    compile_error at org/jruby/lexer/yacc/RubyLexer.java:399
                            error at org/jruby/lexer/yacc/HeredocTerm.java:80
                      parseString at org/jruby/lexer/yacc/HeredocTerm.java:99
                            yylex at org/jruby/lexer/yacc/RubyLexer.java:971
                        nextToken at org/jruby/lexer/yacc/RubyLexer.java:523
                          yyparse at org/jruby/parser/RubyParser.java:1877
                          yyparse at org/jruby/parser/RubyParser.java:1818
                            parse at org/jruby/parser/RubyParserBase.java:2120
                            parse at org/jruby/parser/Parser.java:123
                            parse at org/jruby/parser/Parser.java:108
                    parseMainFile at org/jruby/parser/ParserManager.java:122
                        parseFile at org/jruby/parser/ParserManager.java:139
                        parseImpl at org/jruby/ext/jruby/JRubyLibrary.java:247
                        compileIR at org/jruby/ext/jruby/JRubyLibrary.java:258
                       compile_ir at org/jruby/ext/jruby/JRubyLibrary.java:254
                             call at org/jruby/ext/jruby/JRubyLibrary$INVOKER$s$0$3$compile_ir.gen:-1
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:224
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:220
                             call at org/jruby/runtime/callsite/CachingCallSite.java:242
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:314
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                        interpret at org/jruby/ir/interpreter/InterpreterEngine.java:88
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:238
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:225
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:228
                             call at org/jruby/runtime/callsite/CachingCallSite.java:291
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:324
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                        interpret at org/jruby/ir/interpreter/InterpreterEngine.java:88
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:238
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:225
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:228
                             call at org/jruby/runtime/callsite/CachingCallSite.java:291
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:324
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                  INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:118
                  commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:136
                             call at org/jruby/runtime/IRBlockBody.java:66
                             call at org/jruby/runtime/Block.java:148
                             call at org/jruby/RubyProc.java:330
                             call at org/jruby/RubyProc$INVOKER$i$call.gen:-1
                             call at org/jruby/internal/runtime/methods/JavaMethod.java:355
                             call at org/jruby/runtime/callsite/CachingCallSite.java:242
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:314
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                        interpret at org/jruby/ir/interpreter/InterpreterEngine.java:76
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:164
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:151
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:212
                             call at org/jruby/runtime/callsite/CachingCallSite.java:193
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:346
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                        interpret at org/jruby/ir/interpreter/InterpreterEngine.java:82
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:201
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:188
                             call at org/jruby/RubyMethod.java:124
                             call at org/jruby/RubyMethod$INVOKER$i$call.gen:-1
                             call at org/jruby/internal/runtime/methods/JavaMethod.java:355
                             call at org/jruby/runtime/callsite/CachingCallSite.java:242
               invokeOther17:call at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib/reline//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline/line_editor.rb:1433
   RUBY$method$wrap_method_call$0 at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib/reline//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline/line_editor.rb:1433
                             call at org/jruby/internal/runtime/methods/CompiledIRMethod.java:139
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:112
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:194
                             call at org/jruby/runtime/callsite/CachingCallSite.java:75
                            fcall at org/jruby/runtime/callsite/CachingCallSite.java:81
    invokeOther2:wrap_method_call at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib/reline//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline/line_editor.rb:1486
         RUBY$block$process_key$3 at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib/reline//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline/line_editor.rb:1486
                       callDirect at org/jruby/runtime/CompiledIRBlockBody.java:141
                             call at org/jruby/runtime/IRBlockBody.java:64
                             call at org/jruby/runtime/Block.java:148
                             call at org/jruby/RubyProc.java:330
                             call at org/jruby/RubyProc$INVOKER$i$call.gen:-1
                             call at org/jruby/internal/runtime/methods/JavaMethod.java:355
                             call at org/jruby/runtime/callsite/CachingCallSite.java:242
               invokeOther40:call at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib/reline//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline/line_editor.rb:1404
  RUBY$method$run_for_operators$0 at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib/reline//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline/line_editor.rb:1404
                             call at org/jruby/internal/runtime/methods/CompiledIRMethod.java:178
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:222
                             call at org/jruby/runtime/callsite/CachingCallSite.java:306
                        fcallIter at org/jruby/runtime/callsite/CachingCallSite.java:328
  invokeOther40:run_for_operators at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib/reline//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline/line_editor.rb:1485
        RUBY$method$process_key$0 at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib/reline//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline/line_editor.rb:1485
                             call at org/jruby/internal/runtime/methods/CompiledIRMethod.java:178
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:222
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:228
                             call at org/jruby/runtime/callsite/CachingCallSite.java:291
                            fcall at org/jruby/runtime/callsite/CachingCallSite.java:297
        invokeOther46:process_key at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib/reline//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline/line_editor.rb:1522
        RUBY$method$normal_char$0 at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib/reline//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline/line_editor.rb:1522
                             call at org/jruby/internal/runtime/methods/CompiledIRMethod.java:165
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:185
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:220
                             call at org/jruby/runtime/callsite/CachingCallSite.java:242
                            fcall at org/jruby/runtime/callsite/CachingCallSite.java:248
        invokeOther71:normal_char at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib/reline//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline/line_editor.rb:1588
          RUBY$method$input_key$0 at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib/reline//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline/line_editor.rb:1588
                             call at org/jruby/internal/runtime/methods/CompiledIRMethod.java:165
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:185
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:220
                             call at org/jruby/runtime/callsite/CachingCallSite.java:242
           invokeOther1:input_key at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline.rb:350
      RUBY$block$inner_readline$2 at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline.rb:350
                      yieldDirect at org/jruby/runtime/CompiledIRBlockBody.java:151
                            yield at org/jruby/runtime/BlockBody.java:106
                            yield at org/jruby/runtime/Block.java:189
                             each at org/jruby/RubyArray.java:1981
                             call at org/jruby/RubyArray$INVOKER$i$0$0$each.gen:-1
                             call at org/jruby/runtime/callsite/CachingCallSite.java:208
                         callIter at org/jruby/runtime/callsite/CachingCallSite.java:221
                invokeOther8:each at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline.rb:349
      RUBY$block$inner_readline$1 at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline.rb:349
                       callDirect at org/jruby/runtime/CompiledIRBlockBody.java:141
                             call at org/jruby/runtime/IRBlockBody.java:64
                             call at org/jruby/runtime/Block.java:148
                             call at org/jruby/RubyProc.java:330
                             call at org/jruby/RubyProc$INVOKER$i$call.gen:-1
                             call at org/jruby/internal/runtime/methods/JavaMethod.java:355
                             call at org/jruby/runtime/callsite/CachingCallSite.java:242
               invokeOther18:call at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline.rb:424
             RUBY$block$read_io$1 at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline.rb:424
                      yieldDirect at org/jruby/runtime/CompiledIRBlockBody.java:151
                    yieldSpecific at org/jruby/runtime/IRBlockBody.java:72
                    yieldSpecific at org/jruby/runtime/Block.java:158
                             loop at org/jruby/RubyKernel.java:1722
                             call at org/jruby/RubyKernel$INVOKER$s$0$0$loop.gen:-1
                             call at org/jruby/runtime/callsite/CachingCallSite.java:208
                        fcallIter at org/jruby/runtime/callsite/CachingCallSite.java:230
               invokeOther28:loop at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline.rb:394
            RUBY$method$read_io$0 at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline.rb:394
                             call at org/jruby/internal/runtime/methods/CompiledIRMethod.java:165
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:185
                             call at org/jruby/runtime/callsite/CachingCallSite.java:257
                        fcallIter at org/jruby/runtime/callsite/CachingCallSite.java:279
            invokeOther17:read_io at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline.rb:347
      RUBY$block$inner_readline$0 at Users/jva/$_dot_rvm/rubies/jruby_minus_9_dot_4_dot_8_dot_0/lib/ruby/stdlib//Users/jva/.rvm/rubies/jruby-9.4.8.0/lib/ruby/stdlib/reline.rb:347
                      yieldDirect at org/jruby/runtime/CompiledIRBlockBody.java:151
                      yieldDirect at org/jruby/runtime/MixedModeIRBlockBody.java:111
                    yieldSpecific at org/jruby/runtime/IRBlockBody.java:72
                    yieldSpecific at org/jruby/runtime/Block.java:158
                             loop at org/jruby/RubyKernel.java:1722
                             call at org/jruby/RubyKernel$INVOKER$s$0$0$loop.gen:-1
                             call at org/jruby/internal/runtime/methods/JavaMethod.java:561
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446
                             call at org/jruby/runtime/callsite/CachingCallSite.java:92
                         callIter at org/jruby/runtime/callsite/CachingCallSite.java:103
                        interpret at org/jruby/ir/instructions/CallBase.java:545
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:363
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:128
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:115
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446
                             call at org/jruby/runtime/callsite/CachingCallSite.java:92
                        interpret at org/jruby/ir/instructions/CallBase.java:548
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:363
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                  INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:118
                  commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:136
                    yieldSpecific at org/jruby/runtime/IRBlockBody.java:76
                    yieldSpecific at org/jruby/runtime/Block.java:158
                    yieldSpecific at org/jruby/ir/runtime/IRRuntimeHelpers.java:499
                        interpret at org/jruby/ir/instructions/YieldInstr.java:84
                   processOtherOp at org/jruby/ir/interpreter/StartupInterpreterEngine.java:155
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:98
                  INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:118
                  commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:136
                          doYield at org/jruby/runtime/IRBlockBody.java:169
                            yield at org/jruby/runtime/BlockBody.java:108
                            yield at org/jruby/runtime/Block.java:189
                            yield at org/jruby/ir/runtime/IRRuntimeHelpers.java:494
                        interpret at org/jruby/ir/instructions/YieldInstr.java:96
                   processOtherOp at org/jruby/ir/interpreter/StartupInterpreterEngine.java:155
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:98
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:128
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:115
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446
                             call at org/jruby/runtime/callsite/CachingCallSite.java:92
                         callIter at org/jruby/runtime/callsite/CachingCallSite.java:103
                        interpret at org/jruby/ir/instructions/CallBase.java:545
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:363
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:128
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:115
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446
                             call at org/jruby/runtime/callsite/CachingCallSite.java:92
                         callIter at org/jruby/runtime/callsite/CachingCallSite.java:103
                        interpret at org/jruby/ir/instructions/CallBase.java:545
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:363
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:128
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:115
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446
                             call at org/jruby/runtime/callsite/CachingCallSite.java:92
                        interpret at org/jruby/ir/instructions/CallBase.java:548
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:363
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:128
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:115
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446
                             call at org/jruby/runtime/callsite/CachingCallSite.java:92
                        interpret at org/jruby/ir/instructions/CallBase.java:548
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:363
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:128
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:115
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446
                             call at org/jruby/runtime/callsite/CachingCallSite.java:92
                        interpret at org/jruby/ir/instructions/CallBase.java:548
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:363
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                        interpret at org/jruby/ir/interpreter/InterpreterEngine.java:76
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:164
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:151
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:212
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:456
                             call at org/jruby/runtime/callsite/CachingCallSite.java:195
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:346
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                  INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:118
                  commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:136
                    yieldSpecific at org/jruby/runtime/IRBlockBody.java:76
                    yieldSpecific at org/jruby/runtime/Block.java:158
                    yieldSpecific at org/jruby/ir/runtime/IRRuntimeHelpers.java:499
                        interpret at org/jruby/ir/instructions/YieldInstr.java:84
                   processOtherOp at org/jruby/ir/interpreter/StartupInterpreterEngine.java:155
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:98
                        interpret at org/jruby/ir/interpreter/InterpreterEngine.java:82
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:201
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:188
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:471
                             call at org/jruby/runtime/callsite/CachingCallSite.java:259
                         callIter at org/jruby/runtime/callsite/CachingCallSite.java:270
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:337
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                  INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:118
                  commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:136
                             call at org/jruby/runtime/IRBlockBody.java:66
                             call at org/jruby/runtime/Block.java:148
                             call at org/jruby/RubyProc.java:322
                             call at org/jruby/RubyProc$INVOKER$i$call.gen:-1
                             call at org/jruby/internal/runtime/methods/JavaMethod.java:333
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:456
                             call at org/jruby/runtime/callsite/CachingCallSite.java:195
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:346
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                        interpret at org/jruby/ir/interpreter/InterpreterEngine.java:76
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:164
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:151
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:212
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:456
                             call at org/jruby/runtime/callsite/CachingCallSite.java:195
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:346
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                  INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:118
                  commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:136
                    yieldSpecific at org/jruby/runtime/IRBlockBody.java:76
                    yieldSpecific at org/jruby/runtime/Block.java:158
                             loop at org/jruby/RubyKernel.java:1722
                             call at org/jruby/RubyKernel$INVOKER$s$0$0$loop.gen:-1
                             call at org/jruby/internal/runtime/methods/JavaMethod.java:561
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446
                             call at org/jruby/runtime/callsite/CachingCallSite.java:92
                         callIter at org/jruby/runtime/callsite/CachingCallSite.java:103
                        interpret at org/jruby/ir/instructions/CallBase.java:545
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:363
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                  INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:118
                  commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:136
                          doYield at org/jruby/runtime/IRBlockBody.java:169
                            yield at org/jruby/runtime/BlockBody.java:108
                            yield at org/jruby/runtime/Block.java:189
                            enter at org/jruby/exceptions/CatchThrow.java:32
                          rbCatch at org/jruby/RubyKernel.java:1423
                             call at org/jruby/RubyKernel$INVOKER$s$rbCatch.gen:-1
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:471
                             call at org/jruby/runtime/callsite/CachingCallSite.java:259
                         callIter at org/jruby/runtime/callsite/CachingCallSite.java:270
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:337
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:128
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:115
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446
                             call at org/jruby/runtime/callsite/CachingCallSite.java:92
                         callIter at org/jruby/runtime/callsite/CachingCallSite.java:103
                        interpret at org/jruby/ir/instructions/CallBase.java:545
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:363
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                        interpret at org/jruby/ir/interpreter/InterpreterEngine.java:76
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:164
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:151
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:212
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:456
                             call at org/jruby/runtime/callsite/CachingCallSite.java:195
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:346
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                  INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:118
                  commonYieldPath at org/jruby/runtime/MixedModeIRBlockBody.java:136
                          doYield at org/jruby/runtime/IRBlockBody.java:169
                            yield at org/jruby/runtime/BlockBody.java:108
                            yield at org/jruby/runtime/Block.java:189
                            enter at org/jruby/exceptions/CatchThrow.java:32
                          rbCatch at org/jruby/RubyKernel.java:1423
                             call at org/jruby/RubyKernel$INVOKER$s$rbCatch.gen:-1
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:471
                             call at org/jruby/runtime/callsite/CachingCallSite.java:259
                         callIter at org/jruby/runtime/callsite/CachingCallSite.java:270
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:337
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                        interpret at org/jruby/ir/interpreter/InterpreterEngine.java:82
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:201
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:188
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:220
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:466
                             call at org/jruby/runtime/callsite/CachingCallSite.java:244
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:314
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                        interpret at org/jruby/ir/interpreter/InterpreterEngine.java:82
                 INTERPRET_METHOD at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:201
                             call at org/jruby/internal/runtime/methods/MixedModeIRMethod.java:188
                             call at org/jruby/internal/runtime/methods/DynamicMethod.java:220
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:466
                             call at org/jruby/runtime/callsite/CachingCallSite.java:244
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:314
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                   INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:98
                          execute at org/jruby/ir/interpreter/Interpreter.java:83
                          execute at org/jruby/ir/interpreter/Interpreter.java:32
                          execute at org/jruby/ir/IRTranslator.java:41
                   runInterpreter at org/jruby/Ruby.java:1258
                         loadFile at org/jruby/Ruby.java:2977
                             load at org/jruby/runtime/load/LibrarySearcher.java:925
                             load at org/jruby/runtime/load/LibrarySearcher.java:883
                             load at org/jruby/runtime/load/LoadService.java:383
                       loadCommon at org/jruby/RubyKernel.java:1250
                             load at org/jruby/RubyKernel.java:1220
                             call at org/jruby/RubyKernel$INVOKER$s$load.gen:-1
                             call at org/jruby/internal/runtime/methods/JavaMethod.java:423
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:466
                             call at org/jruby/runtime/callsite/CachingCallSite.java:244
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:314
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                   INTERPRET_EVAL at org/jruby/ir/interpreter/Interpreter.java:108
                       evalCommon at org/jruby/ir/interpreter/Interpreter.java:159
                  evalWithBinding at org/jruby/ir/interpreter/Interpreter.java:184
                       evalCommon at org/jruby/RubyKernel.java:1312
                             eval at org/jruby/RubyKernel.java:1274
                             call at org/jruby/RubyKernel$INVOKER$s$0$3$eval.gen:-1
                     cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446
                             call at org/jruby/runtime/callsite/CachingCallSite.java:92
                        interpret at org/jruby/ir/instructions/CallBase.java:548
                      processCall at org/jruby/ir/interpreter/InterpreterEngine.java:363
                        interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66
                   INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:98
                          execute at org/jruby/ir/interpreter/Interpreter.java:83
                          execute at org/jruby/ir/interpreter/Interpreter.java:32
                          execute at org/jruby/ir/IRTranslator.java:41
                   runInterpreter at org/jruby/Ruby.java:1258
                   runInterpreter at org/jruby/Ruby.java:1288
                      runNormally at org/jruby/Ruby.java:1162
                      runFromMain at org/jruby/Ruby.java:983
                    doRunFromMain at org/jruby/Main.java:398
                      internalRun at org/jruby/Main.java:282
                              run at org/jruby/Main.java:227
                             main at org/jruby/Main.java:199

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions