True JDK 6 compatibility