Forum: JRuby Slighly unexpected behavior setting java member variables

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.
snacktime (Guest)
on 2013-07-02 03:42
(Received via mailing list)
I'm thinking that jruby handling this the 'expected' way might be a
performance issue, which might be why it works the way it does.

You can get  java member variables using underscored names, but you
set them using underscores, you have to call the real camelized member
variable name or you get something like this:

undefined method `my_member_variable='

This topic is locked and can not be replied to.