fix unit test fails on JRuby 1.6.7.2 (#11577)
Authored by: tmaruyama 2012-08-14
Parent: [r10206]
Child: [r10208]