ensuring that the disable JavaDoc linting flag is only used for java 8 as its an illegal flag in other versions of java