Removed dependency of JDK 1.6.