This is what I am talking about for #2020.
I've added an option
I then run my Truffle specs with this option enabled. This gets Truffle to pass 18 more expectations, or around 0.6% of the RubySpec total for language. Every little helps!
Maybe there are more failing language specs in JRuby where this would allow us to show we pass the specs, but still keep our preferred behaviour.
... otherwise code doing utf8 str scan might fail with array-out-of-index resolves GH-2036