Created
November 12, 2021 16:52
-
-
Save headius/8d58406b575de46c7c8f385dd83348ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[] ~/projects/jruby $ git diff core | |
diff --git a/core/src/main/ruby/jruby/kernel/kernel.rb b/core/src/main/ruby/jruby/kernel/kernel.rb | |
index 748381a1f1..a11b288122 100644 | |
--- a/core/src/main/ruby/jruby/kernel/kernel.rb | |
+++ b/core/src/main/ruby/jruby/kernel/kernel.rb | |
@@ -5,12 +5,12 @@ module Kernel | |
end | |
# Replaces Java version for better caching | |
- def initialize_dup(original) | |
- initialize_copy(original) | |
+ def initialize_dup(original, **kwargs) | |
+ initialize_copy(original, **kwargs) | |
end | |
# Replaces Java version for better caching | |
- def initialize_clone(original) | |
- initialize_copy(original) | |
+ def initialize_clone(original, **kwargs) | |
+ initialize_copy(original, **kwargs) | |
end | |
end | |
[] ~/projects/jruby $ jruby -Xbacktrace.style=full -e 1 | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/abbrev-0.1.0.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/base64-0.1.0.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/benchmark-0.1.1.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/bundler-2.2.29.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/cgi-0.2.0.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/csv-3.1.9.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/delegate-0.2.0.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/did_you_mean-1.5.0.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/digest-3.1.0.pre2-java.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/drb-2.0.4.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/erb-2.2.0.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/ffi-1.15.4-java.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/fileutils-1.5.0.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/find-0.1.0.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/forwardable-1.3.2.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/getoptlong-0.1.1.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/io-console-0.5.9-java.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/ipaddr-1.2.2.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/irb-1.3.5.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/jar-dependencies-0.4.1.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/jruby-openssl-0.11.0-java.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/jruby-readline-1.3.7-java.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/json-2.5.1-java.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/logger-1.4.3.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/matrix-0.3.1.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/mutex_m-0.1.1.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/observer-0.1.1.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/open-uri-0.1.0.gemspec]: | |
Invalid gemspec in [/Users/headius/projects/jruby/lib/ruby/gems/shared/specifications/default/optparse-0.1.0.gemspec]: | |
Unhandled Java exception: java.lang.ArrayIndexOutOfBoundsException: Index -7 out of bounds for length 1280 | |
java.lang.ArrayIndexOutOfBoundsException: Index -7 out of bounds for length 1280 | |
setLine at org/jruby/runtime/ThreadContext.java:735 | |
processBookKeepingOp at org/jruby/ir/interpreter/InterpreterEngine.java:414 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:100 | |
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:96 | |
execute at org/jruby/ir/interpreter/Interpreter.java:81 | |
execute at org/jruby/ir/interpreter/Interpreter.java:30 | |
execute at org/jruby/ir/IRTranslator.java:42 | |
runInterpreter at org/jruby/Ruby.java:1267 | |
loadFile at org/jruby/Ruby.java:2895 | |
load at org/jruby/runtime/load/LibrarySearcher.java:937 | |
load at org/jruby/runtime/load/LibrarySearcher.java:895 | |
load at org/jruby/runtime/load/LoadService.java:322 | |
loadCommon at org/jruby/RubyKernel.java:1082 | |
load at org/jruby/RubyKernel.java:1052 | |
call at org/jruby/RubyKernel$INVOKER$s$load.gen:-1 | |
call at org/jruby/internal/runtime/methods/JavaMethod.java:422 | |
cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:372 | |
call at org/jruby/runtime/callsite/CachingCallSite.java:175 | |
processCall at org/jruby/ir/interpreter/InterpreterEngine.java:316 | |
interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:72 | |
INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:96 | |
execute at org/jruby/ir/interpreter/Interpreter.java:81 | |
execute at org/jruby/ir/interpreter/Interpreter.java:30 | |
execute at org/jruby/ir/IRTranslator.java:42 | |
runInterpreter at org/jruby/Ruby.java:1267 | |
loadFile at org/jruby/Ruby.java:2895 | |
load at org/jruby/runtime/load/ExternalScript.java:59 | |
load at org/jruby/runtime/load/LibrarySearcher.java:895 | |
loadFromClassLoader at org/jruby/runtime/load/LoadService.java:350 | |
initRubyPreludes at org/jruby/Ruby.java:1794 | |
initBootLibraries at org/jruby/Ruby.java:580 | |
<init> at org/jruby/Ruby.java:529 | |
newInstance at org/jruby/Ruby.java:713 | |
internalRun at org/jruby/Main.java:264 | |
run at org/jruby/Main.java:225 | |
main at org/jruby/Main.java:197 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment