Fix openjdk6 build by removing @SafeVarargs