Problem in Java Integration

Hi,

i found a problem in ruby-java integration.
If we declare a class (see code example) inside a class, if in ruby we
try to instantiate this defined class we need to pass n (number of
constructores args ) + 1 ( nil ) args to the constructor.

To create a “InsideClass” (see code example) object we need to do
something like :

        JavaClass::InsideClass.new(nil) instead of

JavaClass::InsideClass.new

         If "InsideClass" have 1 arg in constructor we need to do :

JavaClass::InsideClass.new(arg0, nil) instead of
JavaClass::InsideClass.new(arg0)

I almost sure this is a bug.

Thanks!

[Java Code]

package tests;

public class JavaClass {

public class InsideClass {

    public InsideClass() { }

}

}
[/Java Code]


To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email