Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.pre2, JRuby 1.6.7
Assignee: Thomas E Enebo
Attachments: marshal_derived.rb, Plain.java
Created: 11/Sep/12 12:02 PM
Description:

class Plain implements Serializable {
}

class D < Plain
end

Trying to Marshal.dump and instance of D results in the following error

TypeError: Java type is not serializable: org.jruby.javasupport.proxy.JavaProxyConstructor$2
marshal_dump at org/jruby/java/proxies/JavaProxy.java:389
dump at org/jruby/RubyMarshal.java:101
(root) at marshal_derived.rb:16

Example java code and ruby code attached

Environment: java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
Project: JRuby
Priority: Major Major
Reporter: Syver Enstad
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to