Object.const_get behaves differently from other implementations #2635
This issue is a result from an error i encountered when adding kramdown to my rails app using JRuby 220.127.116.11-pre1 -> gettalong/kramdown#228
irb(main):001:0> Object.const_get('::String') String
this works this way on the C-implementations.
Currently on JRuby 18.104.22.168-pre1
irb(main):001:0> Object.const_get('::String') NameError: wrong constant name ::String from org/jruby/RubyModule.java:2863:in `const_get
The text was updated successfully, but these errors were encountered: