Multiply-binding JRubyMethods with meta=true are not processed correctly by 
AnnotationBinder
--------------------------------------------------------------------------------------------

                 Key: JRUBY-2730
                 URL: http://jira.codehaus.org/browse/JRUBY-2730
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.2
         Environment: jruby 1.1.3-dev (ruby 1.8.6 patchlevel 114) (2008-07-02 
rev 7070+3) [i386-java]
            Reporter: Vladimir Sizikov
            Assignee: Vladimir Sizikov
             Fix For: JRuby 1.1.3


If there are two methods for the same Ruby method name, with @JRubyMethod 
annotations and meta=true, those methods are not defined on the metaclass 
actually. If the second method is commented out/removed, the remaining one is 
defined correctly.

Discovered that when tried to convert Time.at method to multiple versions with 
specific arity. Once I do that, Time.methods(false) stopped showing "at".

-- 
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