backspaces wrote:
>
> Charles Oliver Nutter-2 wrote:
>> backspaces wrote:
>>> In the jruby - dev forum I found:
>>> ...
>>> So two questions:
>>> 1 - Is the goal for JRuby to be able to have complete bi-directionality
>>> in
>>> terms of subclassing of Java classes? I.e. much the way quoted above?
>>> 2 - If so, does it currently work?
>> If by bi-directionality, you mean such subclasses are usable in both
>> Ruby and Java...yes, that is the intent. I believe it's *partially*
>> working, but this is going to be a big area of focus over the next
>> several months.
>>
> Yup, that's exactly my goal: I want to subclass a Java class within JRuby.
> The JRuby class will call the Java superclass methods for graphics
> primitives. And the Java superclass will call certain methods in the JRuby
> subclass for initialization and stepping the graphics through its animation.
> Specifically, the protocol is that the superclass will call two methods,
> setup() and draw() in the JRuby subclass.
That's good! We should support this. If we do not support it correctly
today, we need to work to support it, and that's what this next
development cycle is going to focus on. So any and all bugs you can feed
us about this type of integration will be very important and useful.
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email