JavaClass#handleScalaSingletons() raises & catches hundreds of unnecessary NPEs
-------------------------------------------------------------------------------

                 Key: JRUBY-5965
                 URL: https://jira.codehaus.org/browse/JRUBY-5965
             Project: JRuby
          Issue Type: Improvement
    Affects Versions: JRuby 1.6.3
            Reporter: Tobias Crawley
            Assignee: Thomas E Enebo


It assumes every class has a classloader, which isn't the case for core Java 
classes on all VMs. Since it catches and ignores any exception in an effort to 
blanket catch introspection exceptions, the NPEs were not noticed. 

I'll submit a pull request.

--
This message is automatically generated by JIRA.
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