yaml_initialize is not called
-----------------------------
Key: JRUBY-1786
URL: http://jira.codehaus.org/browse/JRUBY-1786
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.0.3, JRuby 1.x
Reporter: Adam Payne
Assignee: Thomas E Enebo
Attachments: test_yaml_initialize.rb
jvyaml does not call the yaml_initialize callback method when loading an object
from YAML. This affects rubygems 0.9.5 rake gem installation where Gem::Version
requirements are coded in the gemspec, and Version expects one of initialize,
yaml_initialize, or marshal_load to be called. Attached ruby test/unit case
demonstrates, and passes in MRI. Fails in jruby-1.0.3 binary release and trunk.
--
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