ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 43114] repeatedly compiled
Date Thu, 12 Feb 2009 22:43:43 GMT

Jesse Glick <> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|1.7.1                       |1.8.0

--- Comment #17 from Jesse Glick <>  2009-02-12 14:43:41 PST ---
I have tried to do a better fix in revision 743910 (

The real problem was that while javac would create a package-info.class
whenever had any annotations (even RetentionPolicy.SOURCE!),
packages with no annotations at all - i.e just a replacement for package.html
when creating Javadoc - did not result in package-info.class files. This
confused up-to-date checks.

With the new code, if is included in the list of source files
passed to the compiler and javac generates package-info.class, then nothing
further is done. But if it is missing (or out of date), a placeholder
package-info.class is created that is equivalent to that which (JDK 5) javac
would create for a with only SOURCE annotations. This is
effectively a no-op for the JVM but makes <javac> work predictably: *.java is
compiled during an incremental build iff the corresponding *.class is missing
or old, and this works the same for as for any other *.java.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message