JDK-6920317 : package-info.java file has to be specified on the javac cmdline, else it will not be avail.
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-01-26
  • Updated: 2011-02-16
  • Resolved: 2010-03-30
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.
JDK 6 JDK 7 Other
6u19-rev b06Fixed 7Fixed OpenJDK6Fixed
Related Reports
Relates :  
Annotations that are specified for packages in the package-info.java file are not available to the Annotation processor, the packages are treated as if there are no Annotations at all, unless you specify the package-info.java file on the javac command-line.

EVALUATION Attached test case from submitter.