Author: Charles Oliver Nutter <firstname.lastname@example.org>
Date: Mon Aug 27 11:36:21 2012 -0500
JRuby allows invalid attr_accessor (MRI raises exception)
Our test for local variable names (which applies in both JRuby and
MRI to attr names) did not check for trailing ?. I added that one
Note that in MRI all of this passes through ID parsing, which has
logic for checking the type of ID I did not attempt to sort out.
There are other cases we probably let through that MRI does not.
Test submitted to MRI via https://github.com/ruby/ruby/pull/171
:100644 100644 a236fac... ad2154a... M src/org/jruby/RubyModule.java
:100644 100644 88b83c7... 884493d... M src/org/jruby/util/IdUtil.java