United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4639384 javac should provide dependency information
JDK-4639384 : javac should provide dependency information

Details
Type:
Enhancement
Submit Date:
2002-02-18
Status:
Closed
Updated Date:
2005-05-16
Project Name:
JDK
Resolved Date:
2005-05-16
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P4
Resolution:
Won't Fix
Affected Versions:
5.0
Fixed Versions:

Related Reports
Relates:
Relates:
Relates:

Sub Tasks

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
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
PUBLIC COMMENTS

...
                                     
2004-09-04



Hardware and Software, Engineered to Work Together