78 private boolean needsSaving;
79 // If this is a new javac_state file, then do not print unnecessary messages.
80 private boolean newJavacState;
81
82 // These are packages where something has changed and the package
83 // needs to be recompiled. Actions that trigger recompilation:
84 // * source belonging to the package has changed
85 // * artifact belonging to the package is lost, or its timestamp has been changed.
86 // * an unknown artifact has appeared, we simply delete it, but we also trigger a recompilation.
87 // * a package that is tainted, taints all packages that depend on it.
88 private Set<String> taintedPackages;
89 // After a compile, the pubapis are compared with the pubapis stored in the javac state file.
90 // Any packages where the pubapi differ are added to this set.
91 // Later we use this set and the dependency information to taint dependent packages.
92 private Set<String> packagesWithChangedPublicApis;
93 // When a module-info.java file is changed, taint the module,
94 // then taint all modules that depend on that that module.
95 // A module dependency can occur directly through a require, or
96 // indirectly through a module that does a public export for the first tainted module.
97 // When all modules are tainted, then taint all packages belonging to these modules.
98 // Then rebuild. It is perhaps possible (and valuable?) to do a more finegrained examination of the
99 // change in module-info.java, but that will have to wait.
100 private Set<String> taintedModules;
101 // The set of all packages that has been recompiled.
102 // Copy over the javac_state for the packages that did not need recompilation,
103 // verbatim from the previous (prev) to the new (now) build state.
104 private Set<String> recompiledPackages;
105
106 // The output directories filled with tasty artifacts.
107 private File binDir, gensrcDir, headerDir, stateDir;
108
109 // The current status of the file system.
110 private Set<File> binArtifacts;
111 private Set<File> gensrcArtifacts;
112 private Set<File> headerArtifacts;
113
114 // The status of the sources.
115 Set<Source> removedSources = null;
116 Set<Source> addedSources = null;
117 Set<Source> modifiedSources = null;
118
|
78 private boolean needsSaving;
79 // If this is a new javac_state file, then do not print unnecessary messages.
80 private boolean newJavacState;
81
82 // These are packages where something has changed and the package
83 // needs to be recompiled. Actions that trigger recompilation:
84 // * source belonging to the package has changed
85 // * artifact belonging to the package is lost, or its timestamp has been changed.
86 // * an unknown artifact has appeared, we simply delete it, but we also trigger a recompilation.
87 // * a package that is tainted, taints all packages that depend on it.
88 private Set<String> taintedPackages;
89 // After a compile, the pubapis are compared with the pubapis stored in the javac state file.
90 // Any packages where the pubapi differ are added to this set.
91 // Later we use this set and the dependency information to taint dependent packages.
92 private Set<String> packagesWithChangedPublicApis;
93 // When a module-info.java file is changed, taint the module,
94 // then taint all modules that depend on that that module.
95 // A module dependency can occur directly through a require, or
96 // indirectly through a module that does a public export for the first tainted module.
97 // When all modules are tainted, then taint all packages belonging to these modules.
98 // Then rebuild. It is perhaps possible (and valuable?) to do a more fine-grained examination of the
99 // change in module-info.java, but that will have to wait.
100 private Set<String> taintedModules;
101 // The set of all packages that has been recompiled.
102 // Copy over the javac_state for the packages that did not need recompilation,
103 // verbatim from the previous (prev) to the new (now) build state.
104 private Set<String> recompiledPackages;
105
106 // The output directories filled with tasty artifacts.
107 private File binDir, gensrcDir, headerDir, stateDir;
108
109 // The current status of the file system.
110 private Set<File> binArtifacts;
111 private Set<File> gensrcArtifacts;
112 private Set<File> headerArtifacts;
113
114 // The status of the sources.
115 Set<Source> removedSources = null;
116 Set<Source> addedSources = null;
117 Set<Source> modifiedSources = null;
118
|