The arity for list.add is coming from ModA#add, without any real reason to be.  
I'm not sure if this is "special case for the 'default' object", or not.

---cut----
require 'java'
include_class 'java.util.ArrayList'

module ModA

    def add a,b,c
    end  

end

include ModB

list = ArrayList.new
list.add "Foo"
---end---
On Tuesday 14 March 2006 03:04 pm, David Corbin wrote:
> On Tuesday 14 March 2006 08:04 pm, Charles O Nutter wrote:
> Still not there yet.  I've got a java proxy that is getting an "Wrong # of
> arguments".  I'll dig into it....
>
> David
>
> > Ok, I'll be watching for it!
> >
> > On 3/14/06, David Corbin <[EMAIL PROTECTED]> wrote:
> > > On Monday 13 March 2006 10:22 pm, Charles O Nutter wrote:
> > > > Try it now; it was almost the same issue that was causing some other
> > > > flow-control stuff to blow up. I believe it is occurring when you
> > > > have a return cross frame boundaries, as with a block call that does
> > > > return and runs in a different EvalState. I'm continuing to isolate
> > > > it to a
> > >
> > > specific
> > >
> > > > case that doesn't require Test::Unit to fail.
> > > >
> > > > Your case runs now. We're getting there!
> > >
> > > That fixes that problem for sure.  I'm having other problems, but I'm
> > > not sure
> > > if it's JRuby or something internal in our
> > > application/configuration.  I'll
> > > let you know when I do.
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > > language
> > > that extends applications into web and mobile media. Attend the live
> > > webcast
> > > and join the prime developer group breaking into this new coding
> > > territory!
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=12164
> > >2 _______________________________________________
> > > Jruby-devel mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/jruby-devel
> >
> > --
> > Charles Oliver Nutter @ headius.blogspot.com
> > JRuby Developer @ jruby.sourceforge.net
> > Application Architect @ www.ventera.com
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live
> webcast and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Jruby-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jruby-devel


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to