Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indy breaks monkey patching on 1.7.x #1878

Closed
chrisseaton opened this issue Aug 1, 2014 · 1 comment
Closed

indy breaks monkey patching on 1.7.x #1878

chrisseaton opened this issue Aug 1, 2014 · 1 comment

Comments

@chrisseaton
Copy link
Contributor

I'm on Java 8 so indy is on by default for me on the 1.7.x branch, and I've found that it seems to break monkey patching. Master branch looks fine.

$ cat test.rb 
class Fixnum
  def *(b)
    self + b
  end
end
puts 14 * 2
$ ~/.rbenv/versions/jruby-1.7.13/bin/ruby test.rb 
28
$ ~/.rbenv/versions/jruby-1.7.13/bin/ruby -Xcompile.invokedynamic=false test.rb 
16
$ jruby-master/bin/jruby test.rb 
16
$ jruby-master/bin/jruby -Xcompile.invokedynamic=false test.rb 
16
$ jruby-master/bin/jruby -X+T test.rb 
16
$ ~/.rbenv/versions/2.1.2/bin/ruby test.rb 
16
$ ~/.rbenv/versions/rbx-2.2.10/bin/ruby test.rb 
16
@kares
Copy link
Member

kares commented May 23, 2017

no indy work is going to happen on JRuby 1.7.x thus let's close this one as a non-fixer

@kares kares closed this as completed May 23, 2017
@kares kares added this to the Won't Fix milestone May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants