If a @deprecated tag appears in the javadoc of a package-info.java file, the standard doclet does not present any of that text in the generated html and no warning or error is issued.