You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jruby 9.1.6.0 (2.3.1) 2016-11-09 0150a76 OpenJDK 64-Bit Server VM 25.111-b14 on 1.8.0_111-internal-alpine-r0-b14 +jit [linux-x86_64]
Linux dfcfcfee1b70 4.4.0-47-generic #68-Ubuntu SMP Wed Oct 26 19:39:52 UTC 2016 x86_64 Linux
Extension=Module.newKlass=Class.new{extendExtension}Clone=Klass.cloneDup=Klass.dupMarshal.dump(Clone)TypeError: can't dump anonymous class #<Class:0x5656be13> from org/jruby/RubyMarshal.java:102:in `dump'from(irb):5:in`<eval>' from org/jruby/RubyKernel.java:998:in `eval' from org/jruby/RubyKernel.java:1299:in `loop'fromorg/jruby/RubyKernel.java:1118:in`catch' from org/jruby/RubyKernel.java:1118:in `catch' from /opt/jruby/bin/irb:13:in `<main>'Marshal.dump(Dup)TypeError: can't dump anonymous class #<Class:0x14cd1699> from org/jruby/RubyMarshal.java:102:in `dump'from(irb):6:in`<eval>' from org/jruby/RubyKernel.java:998:in `eval' from org/jruby/RubyKernel.java:1299:in `loop'fromorg/jruby/RubyKernel.java:1118:in`catch' from org/jruby/RubyKernel.java:1118:in `catch' from /opt/jruby/bin/irb:13:in `<main>'
The text was updated successfully, but these errors were encountered:
Looks like a problem with the class-name-setting behavior of constants. Confirmed it fails on JRuby master, and it does not fail if the extend call is omitted.
Environment
Running inside 9-alpine docker container.
This issue may be related to #4339.
Expected Behavior (MRI 2.3.1)
Actual Behavior
The text was updated successfully, but these errors were encountered: