-Xdoclint:none is supported only by java8