Fixed compilation error in jvm6.