JDK-8140772 : Enhance doclint to check for deprecation on packages.
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2015-10-29
  • Updated: 2024-10-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Relates :  
Description
Apparently deprecation of packages were never allowed. We must enhance
doclint to enforce this, see https://bugs.openjdk.java.net/browse/JDK-8140692.

Thus we should warn if @deprecated or @Deprecated is present in a package-info.java, (and maybe package.html ?)
Comments
Also, -Xlint for @Deprecated on packages
29-10-2015