JRuby

RubyException doesn't define to_str

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: JRuby 1.1.5
  • Fix Version/s: JRuby 1.1.6
  • Component/s: Core Classes/Modules
  • Labels:
    None
  • Number of attachments :
    0

Description

 
$ irb
irb(main):003:0> Exception.new.to_str
=> "Exception"

$ jirb
irb(main):001:0> JRUBY_VERSION
=> "1.1.5"
irb(main):002:0> Exception.new.to_str
NoMethodError: undefined method `to_str' for #<Exception: Exception>

looks like it got accidentally deleted in

http://fisheye.codehaus.org/browse/jruby/trunk/jruby/src/org/jruby/RubyException.java?r1=7596&r2=7808

Activity

Hide
Jan Berkel added a comment -
Show
Jan Berkel added a comment - http://jira.codehaus.org/browse/JRUBY-3115 is related to this issue
Hide
Marcin Mielzynski added a comment -

Fixed in r8059

Show
Marcin Mielzynski added a comment - Fixed in r8059

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: