suppress JDK8 errors for #385
Merge pull request #386 from EugenePig/java8

suppress JDK8 errors for #385