Fixed JDK 8 compatibility issue regarding inferred generic types
Fixed JDK 8 compatibility issue regarding JavaDoc DocLint