Getting compile error need to test against newer JDK