https://issues.apache.org/bugzilla/show_bug.cgi?id=43114
--- Comment #13 from Jesse Glick <[EMAIL PROTECTED]> 2008-11-03 17:43:09 PST --- One possibility to consider: when running javac and passing a package-info.java source file to it, if no package-info.class is created, make one yourself. (It would no annotations and thus essentially be empty except for the package name. The format should be simple to write directly from Java code.) This would ensure that up-to-date checks always worked sanely, as if every p-i.java had at least one class- (or runtime-) retention annotation. You could also try to do this only if you detect an annotation in the file (just tokenize it, strip out comments, and look for '@'). The empty p-i.class files should be harmless at runtime, but it would perhaps be possible to exclude them from JARs by default. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
