Targeting Java 6 is increasingly a PITA.