make newer JRubies happy.