I've found that passing ruby objects to java classes that hold them
and return them causes the returned object to not respond to methods
that are not present in the java interface.
See the code below for an example. Note that the java class only
stores the RubyTableModel instance, but still object_id changes. This
looks like a bug.
class RubyTableModel < javax.swing.table.DefaultTableModel
tablemodel = RubyTableModel.new
table = javax.swing.JTable.new(tablemodel)
tablemodel2 = table.model
puts tablemodel == tablemodel2
To unsubscribe from this list please visit: