jruby/jruby — pull request #2178 by cheald (2014-11-12 09:05:41+00:00)
Title: Fix frozen

Fix freeze enforcement and exceptions for immediate values. Passes test suite and rubyspec suite.

I'd love some extra review on this, though - the JRuby code isn't directly analogous to the MRI code, and there is a whole set of checks (FL_ABLE, SPECIAL_CONST_P) that JRuby doesn't do which probably need evaluation.