The root cause of this issue was
JRUBY-5567, for which I've made a preliminary fix. We'll call this one fixed, since JRUBY-5567 remains open and I'll come up with a more robust answer for JRuby 1.6.1.
With the preliminary fix in place, YAML successfully loads from a ruboto-core app.
Author: Charles Oliver Nutter <firstname.lastname@example.org>
Date: Wed Mar 9 01:14:21 2011 -0600
Preliminary fix for
JRUBY-5567: Invokers will fail to generate and kill method binding on systems that do not support bytecode loading
I added logic into MethodFactory to attempt to load a class, forcing reflected invokers forever if this fails in any way. I have confirmed manually that this does not interfere with normal execution, and have left logging in place that indicates when it has fallen back. See
JRUBY-5568 for a task to remove this logging before JRuby 1.6 final.
JRUBY-5567 will remain open until a more robust solution can be found (JRuby 1.6.1).
JRUBY-5566, which this issue caused.