United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6920317 package-info.java file has to be specified on the javac cmdline, else it will not be avail.
JDK-6920317 : package-info.java file has to be specified on the javac cmdline, else it will not be avail.

Details
Type:
Bug
Submit Date:
2010-01-26
Status:
Closed
Updated Date:
2011-02-16
Project Name:
JDK
Resolved Date:
2010-03-30
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:
6u19-rev (b06)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
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.

                                    

Comments
EVALUATION

-
                                     
2010-01-29
EVALUATION

Attached test case from submitter.
                                     
2010-02-01



Hardware and Software, Engineered to Work Together