JDK-4639384 : javac should provide dependency information
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2002-02-18
  • Updated: 2005-05-16
  • Resolved: 2005-05-16
Related Reports
Relates :  
Relates :  
Relates :  
Description
Name: gh8910			Date: 02/18/2002

Various Java IDEs use (or would like to use) the standard
javac compiler.

These IDEs need to keep track of dependency information so
that when the user edits Foo.java the IDE knows which other
files need to be recompiled when the user next hits "rebuild"

Now that the IDEs do not require "makefile" support nor do
they require a "make" style tool.  They are quite capable of
managing the rebuild themselves.  They merely require access
to the raw dependency information for each .java file.

In this context a "dependency" means:  A given file Foo.java has
a dependency on a file Bah.java if a change in Bah.java should
result in Foo.java being recompiled.   One common cause will be
if Foo.java imports the class or interface defined in Bah.java.

In the context of Tiger feature #4164450, this dependency feature
may be implemented as part of the compiler API.


======================================================================
###@###.### 10/26/04 04:48 GMT

Comments
PUBLIC COMMENTS ...
2004-09-04

EVALUATION Name: gh8910 Date: 02/18/2002 This feature has been added for Tiger release ====================================================================== I cannot do anything with this without a more precise specification. ###@###.### 2003-02-18 Between the Java model of JSR 269 and the tree API of RFE 4813736, all necessary information should be available. ###@###.### 2005-05-16 23:06:58 GMT
2003-02-18