Java deserialization through java-integration is broken in JRuby
----------------------------------------------------------------

                 Key: JRUBY-1463
                 URL: http://jira.codehaus.org/browse/JRUBY-1463
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
         Environment: OpenSuSE 10.3, Java 1.6.0_u3
            Reporter: Adam Glasgall
         Attachments: jrois.patch

Deserializing Java objects (via ObjectInputStream) in JRuby doesn't work 
because ObjectInputStream uses the system classloader rather than the current 
Ruby runtime's classloader.

A patch is enclosed that adds a JRubyObjectInputStream class that uses the 
correct classloader and all the necessary code to wire it up. Feedback welcome.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
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