-Xdoclint:none flag is only set when using JDK8