Issue Details (XML | Word | Printable)

Key: JRUBY-3135
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Marcin Mielzynski
Reporter: Jan Berkel
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JRuby

RubyException doesn't define to_str

Created: 12/Nov/08 10:26 AM   Updated: 12/Jan/09 04:27 PM
Component/s: Core Classes/Modules
Affects Version/s: JRuby 1.1.5
Fix Version/s: JRuby 1.1.6

Time Tracking:
Not Specified


 Description  « Hide
 
$ 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



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jan Berkel added a comment - 12/Nov/08 10:34 AM

Marcin Mielzynski added a comment - 12/Nov/08 03:53 PM
Fixed in r8059