only use -Xdoclint:none when JDK version >=1.8