remove Java 6 compatibility test