FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Hash's compare_by_identity state does not marshal · Issue #9063 · jruby/jruby · GitHub

/ jruby Public

Hash's compare_by_identity state does not marshal #9063

Description

We aren't dumping compare_by_identity Hash instances correctly:

$ cx ruby-master ruby -e 's = Hash.new; p Marshal.dump(s)' 
"\x04\b{\x00"
$ cx ruby-master ruby -e 's = Hash.new; s.compare_by_identity; p Marshal.dump(s)'
"\x04\bC:\tHash{\x00"
$ jruby -e 's = Hash.new; p Marshal.dump(s)'              
"\x04\b{\x00"
$ jruby -e 's = Hash.new; s.compare_by_identity; p Marshal.dump(s)'              
"\x04\b{\x00"

How embarrassing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL