"non-persistent Java type" warning thrown on java class descendant expected?

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-

Hmm interesting. I think you’re right. Toss this into a bug.

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