add_method_signature causes a VerifyError if used for more than return type.
----------------------------------------------------------------------------

                 Key: JRUBY-5407
                 URL: http://jira.codehaus.org/browse/JRUBY-5407
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.6RC1
            Reporter: bob mcwhirter


If using add_method_signature to add a return type, it works fine.  If trying 
to define a method that has typed parameters, you get a VerifyError during 
become_java!

{noformat}
  2) JRuby class reification supports reification of annotations and signatures 
on static methods with parameters
     Failure/Error: Unable to find matching line from backtrace
     Java::JavaLang::VerifyError:
       (class: rubyobj/AnonymousRubyClass#1345, method: blah_with_args 
signature: (Ljava/lang/String;Ljava/lang/Float;)Ljava/lang/Integer;) Register 2 
contains wrong type
{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