Forum: JRuby Invoking private methods via JRuby

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

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?

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