dkubb / ice_nine

Deep Freeze Ruby Objects
MIT License
307 stars 19 forks source link

Crashes axiom on jruby 1.9 #6

Closed solnic closed 10 years ago

solnic commented 11 years ago
vagrant@rom-rb:rom/rom-relation (master) % chruby jruby
Using jruby-1.9.3
vagrant@rom-rb:rom/rom-relation (master) % irb
irb(main):001:0> require 'axiom'
NoMethodError: undefined method `__id__' for #<Axiom::Equalizer:0x728ebb3d>
        from /home/vagrant/.gem/jruby/1.9.3/gems/ice_nine-0.8.0/lib/ice_nine.rb:40:in `deep_freeze'
        from /home/vagrant/.gem/jruby/1.9.3/gems/adamantium-0.0.8/lib/adamantium/freezer.rb:83:in `freeze'
        from /home/vagrant/.gem/jruby/1.9.3/gems/adamantium-0.0.8/lib/adamantium/class_methods.rb:17:in `new'
        from /home/vagrant/.gem/jruby/1.9.3/gems/axiom-0.1.0/lib/axiom/support/operation/binary.rb:6:in `Binary'
        from /home/vagrant/.gem/jruby/1.9.3/gems/axiom-0.1.0/lib/axiom/support/operation/binary.rb:5:in `Operation'
        from /home/vagrant/.gem/jruby/1.9.3/gems/axiom-0.1.0/lib/axiom/support/operation/binary.rb:4:in `Axiom'
        from /home/vagrant/.gem/jruby/1.9.3/gems/axiom-0.1.0/lib/axiom/support/operation/binary.rb:3:in `(root)'
        from org/jruby/RubyKernel.java:1054:in `require'
        from /opt/rubies/jruby-1.7.4/lib/ruby/shared/rubygems/custom_require.rb:36:in `require'
        from /home/vagrant/.gem/jruby/1.9.3/gems/backports-3.3.2/lib/backports/tools.rb:328:in `require_with_backports'
        from /home/vagrant/.gem/jruby/1.9.3/gems/axiom-0.1.0/lib/axiom.rb:1:in `(root)'
        from org/jruby/RubyKernel.java:1054:in `require'
        from /home/vagrant/.gem/jruby/1.9.3/gems/axiom-0.1.0/lib/axiom.rb:95:in `(root)'
        from /opt/rubies/jruby-1.7.4/lib/ruby/shared/rubygems/custom_require.rb:1:in `(root)'
        from org/jruby/RubyKernel.java:1093:in `eval'
        from /opt/rubies/jruby-1.7.4/lib/ruby/shared/rubygems/custom_require.rb:60:in `require'
        from (irb):1:in `evaluate'
        from org/jruby/RubyKernel.java:1489:in `loop'
        from org/jruby/RubyKernel.java:1254:in `catch'
        from org/jruby/RubyKernel.java:1254:in `catch'
        from /opt/rubies/jruby-1.7.4/bin/irb:13:in `(root)'irb(main):002:0>
dkubb commented 10 years ago

I'm marking this as closed since it no longer appears to be an issue given that the dependency on backports has been removed.Axiom