Re: [Jruby-devel] Dynamic proxies, Java interfaces, "initialize"

2006-05-16 Thread Charles O Nutter
This is definitely a tricky one. In the java world we don't have to worry about constructors colliding with methods; however we obviously have that issue here.I believe we should think about this from the perspective of the ruby script that would eventually call against the interface. It would be e

[Jruby-devel] Dynamic proxies, Java interfaces, "initialize"

2006-05-16 Thread David Corbin
I ran across a problem today. I was implementing a Java interface in Ruby. The interface had an method "initialize(...)" defined in it. This creates a quandry, of course, because the initialize method is used during construction. I'm not sure what the right solution for JRuby is. Ideas? I