I noticed if I run this code, with trunk:
require ‘java’
class JFrameDescendant < javax.swing.JFrame
def initialize
@panel = 3
end
end
JFrameDescendant.new
It results in this message:
repro.rb:1 warning: instance vars on non-persistent Java type
JFrameDescendant (http://wiki.jruby.org/Persistence)
However, since I’m actually subclassing a java class with a pure ruby
one, shouldn’t I be save to save instance variables? Is this warning
message expected?
-roger-