Using the simple package-class syntax for JI gives unintuitive answers when 
giving arguments
--------------------------------------------------------------------------------------------

                 Key: JRUBY-2088
                 URL: http://jira.codehaus.org/browse/JRUBY-2088
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.1RC1
            Reporter: Ola Bini


I think this behavior is extremely unintuitive:

{noformat}
require 'java'
javax.swing("HAHAHA").JFrame("well now")
{noformat}

This code should raise some kind of error, since it's _always_ an error to call 
these methods like this. It's really an artifact of the way we have implemented 
the shortcuts, but the method missing that handles it should make sure there 
are zero arguments.


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