-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Labels
Milestone
Description
Environment Information
jruby 9.3.0.0-SNAPSHOT (2.6.5) 2020-10-21 4fd5e61 Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS on 11.0.2+9-LTS +jit [linux-x86_64]
fails on master
9.2.13.0 is ok
Expected Behavior
require 'parser'
=> true
Actual Behavior
LoadError: load error: parser/lexer -- java.lang.ArrayIndexOutOfBoundsException: Index 256 out of bounds for length 256
/home/travis/build/ahorek/terser-ruby/vendor/bundle/jruby/2.6.0/gems/parser-2.7.2.0/lib/parser.rb:67:in `<module:Parser>'
/home/travis/build/ahorek/terser-ruby/vendor/bundle/jruby/2.6.0/gems/parser-2.7.2.0/lib/parser.rb:19:in `<main>'
home/travis/build/ahorek/terser-ruby/vendor/bundle/jruby/2.6.0/gems/rubocop-0.81.0/lib/rubocop.rb:3:in `<main>'
/home/travis/build/ahorek/terser-ruby/vendor/bundle/jruby/2.6.0/gems/rubocop-0.81.0/lib/rubocop/rake_task.rb:40:in `run_cli'
/home/travis/build/ahorek/terser-ruby/vendor/bundle/jruby/2.6.0/gems/rubocop-0.81.0/lib/rubocop/rake_task.rb:28:in `block in initialize'
/home/travis/build/ahorek/terser-ruby/vendor/bundle/jruby/2.6.0/gems/rubocop-0.81.0/lib/rubocop/rake_task.rb:26:in `block in initialize'
/home/travis/build/ahorek/terser-ruby/vendor/bundle/jruby/2.6.0/gems/rake-12.3.3/exe/rake:27:in `<main>'
/home/travis/build/ahorek/terser-ruby/vendor/bundle/jruby/2.6.0/bin/jruby_executable_hooks:24:in `<main>'
Caused by:
Java::JavaLang::ArrayIndexOutOfBoundsException: Index 256 out of bounds for length 256
org.jruby.dist/org.jruby.parser.RubyParser.yyparse(RubyParser.java:1722)
org.jruby.dist/org.jruby.parser.RubyParser.yyparse(RubyParser.java:1597)
org.jruby.dist/org.jruby.parser.RubyParser.parse(RubyParser.java:5764)
org.jruby.dist/org.jruby.parser.Parser.parse(Parser.java:133)
org.jruby.dist/org.jruby.parser.Parser.parse(Parser.java:89)
org.jruby.dist/org.jruby.parser.Parser.parse(Parser.java:95)
org.jruby.dist/org.jruby.Ruby.parseFileAndGetAST(Ruby.java:2573)
org.jruby.dist/org.jruby.Ruby.parseFile(Ruby.java:2528)
org.jruby.dist/org.jruby.Ruby.parseFile(Ruby.java:2515)
org.jruby.dist/org.jruby.Ruby.loadFile(Ruby.java:2836)
org.jruby.dist/org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:234)
org.jruby.dist/org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:33)
org.jruby.dist/org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:887)
org.jruby.dist/org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:535)
org.jruby.dist/org.jruby.runtime.load.LoadService.require(LoadService.java:402)
org.jruby.dist/org.jruby.RubyKernel.requireCommon(RubyKernel.java:1055)
org.jruby.dist/org.jruby.RubyKernel.require(RubyKernel.java:1048)
org.jruby.dist/org.jruby.RubyKernel$INVOKER$s$1$0$require.call(RubyKernel$INVOKER$s$1$0$require.gen)
org.jruby.dist/org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:417)
org.jruby.dist/org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:84)
org.jruby.dist/org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:371)
org.jruby.dist/org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:174)
org.jruby.dist/org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:316)
org.jruby.dist/org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:72)
Reactions are currently unavailable