Paul Fraser wrote:
> Charles Oliver Nutter wrote:
>>
>> Gah, previous mail sent too soon.
>>
>> In the latter case it looks like it worked exactly like it's supposed
>> to; it was able to receive the AffineTransform class correctly. That
>> exception is coming out of Sun's library, not out of JRuby...
>>
>> Perhaps that method is not supposed to take a Class?
>>
>> - Charlie
>>
> The only problem here is that the java version works :-( So,
> possibly static has something to do with it!
> Ah Ha, Ask the question again, how should the following be coded in
> JRuby? :-)
>
> static {
> Composer.register(AffineTransform.class, TransformComposer.class);
> }
Are you running 1.1.3? The code from before with .java_class should be
correct, but I suspect a bug fixed in 1.1.3 might be involved here.
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email