Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6394683
Votes 0
Synopsis need to resolve different file-type precedence semantics for javac and 269
Category java:compiler
Reported Against
Release Fixed mustang(b92)
State 10-Fix Delivered, Verified, bug
Priority: 2-High
Related Bugs 6460487
Submit Date 07-MAR-2006
Description
classic javac prefers to read a class file if it is newer than the corresponding source file, but classic apt always prefers to read a source file if it is available (because of any source-retention annotations, which would not be in the class file.

This causes schizophrenia for Mustang javac, which needs to be resolved.
Posted Date : 2006-03-07 01:44:31.0
Work Around
N/A
Evaluation
One policy could be to favor source files on the annotation processing rounds, but favor class files on the final compile.  This could lead to confusing situations in corner cases.
Posted Date : 2006-03-08 20:24:12.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang