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-
on 2012-05-23 18:15
on 2012-06-08 21:45
Hmm interesting. I think you're right. Toss this into a bug.
on 2012-06-12 21:59
Charles Nutter wrote in post #1063751: > Hmm interesting. I think you're right. Toss this into a bug. http://jira.codehaus.org/browse/JRUBY-6721