Forum: JRuby Invoking private methods via JRuby

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fredrik W. (Guest)
on 2009-01-21 20:31
Hi!

I'm playing around with the possibility to testing Java classes via
JRuby using RSpec.

The only problem I've encountered so far is that I'm not able to invoke
private methods on Java classes (using Object#send), which is possible
on regular Ruby classes.

Is there a workaround for this or am I missing something?

Regards,
Fredrik W
This topic is locked and can not be replied to.