Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4639384

javac should provide dependency information

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 5.0
    • tools
    • None
    • generic
    • generic

      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

            ahe Peter Ahe
            ghamiltosunw Graham Hamilton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: