Skip to content

JRuby TypeError on game exit #8

@solucet

Description

@solucet

JRuby 1.7.10 currently raises a TypeError when the sample game is exited using the Escape key. Specifically, the offending line is in lib/ruby/playing_state.rb, line 143. Marshal.dump is being called on the EntityManager instance, which uses a hash with a default proc for its @component_stores instance variable -- but JRuby can't dump a hash with a default proc.

Tested in Fedora 20 with JRuby 1.7.10. Will try testing on a Windows box when I have one available.

% ruby -v
jruby 1.7.10 (1.9.3p392) 2014-01-09 c4ecd6b on OpenJDK 64-Bit Server VM 1.7.0_51-mockbuild_2014_01_17_13_38-b00 [linux-amd64]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions