fix java-8 javadoc warnings and errors for core module