fix OracleJDK's compilation problem (part2)