Fixed another warning in rake spec:ji:int.
Fixed another warning in rake spec:ji:int (persistence).
kernel_spec.rb: Added a workaround for https://github.com/jruby/jruby/issues/1473 so it does not print a big stack trace while running.  Now I can run spec:ji:int without any warnings or failures (but a lot of pending).