Default exception message uses singleton class when it should not
-----------------------------------------------------------------

                 Key: JRUBY-5637
                 URL: http://jira.codehaus.org/browse/JRUBY-5637
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.6
            Reporter: Charles Oliver Nutter
            Priority: Trivial
             Fix For: JRuby 1.6.1


A peculiar effect:

{noformat}
e = Exception.new
puts e.message  # "Exception"
def e.backtrace
  []
end

puts e.message # "Exception" on 1.8.6/1.8.7/1.9.2, #<Class:0x11dff2e1b> on 
JRuby 1.6.0
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to