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
IO.write("data",":/c")data=File.open("data","rb").readlines.first.split(':').last# => "/c"result=data.rindex("c")# => should be 1, but is nil on jruby-headfail"expected 1, got: #{result.inspect}"unlessresult == 1
Expected: no failure
Actual: failure on jruby-head (because rindex returns nil)
JRuby: jruby 9.0.0.0-SNAPSHOT (2.2.1) 2015-03-30 8d7c1b1 OpenJDK 64-Bit Server VM 24.75-b04 on 1.7.0_75-b13 +jit [linux-amd64]
The text was updated successfully, but these errors were encountered:
Appears to work after my recent encoding fixes, which included a rewrite (ported from MRI) of String#rindex. We'll call this fixed, but please test updated jruby-head and let us know if you see any further issues.
Fails on jruby-head, works on jruby-1.7.19
Expected: no failure
Actual: failure on jruby-head (because
rindex
returns nil)JRuby: jruby 9.0.0.0-SNAPSHOT (2.2.1) 2015-03-30 8d7c1b1 OpenJDK 64-Bit Server VM 24.75-b04 on 1.7.0_75-b13 +jit [linux-amd64]
The text was updated successfully, but these errors were encountered: