Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.0.3, JRuby 1.x+
-
Fix Version/s: JRuby 1.1RC1
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
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.
Attachments
Issue Links
| This issue relates to: | ||||
| JRUBY-1768 | RubyGems 1.0.0 hack may be due to yaml_initialize not getting called |
|
|
|
same issue, different manifestation