mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8015145: Smartjavac needs more flexibility with linking to sources
Reviewed-by: jjg, ohrstrom
This commit is contained in:
parent
0c6e63367d
commit
fd4983b254
3 changed files with 49 additions and 9 deletions
|
@ -808,7 +808,10 @@ public class JavacState
|
|||
|
||||
// Create a set of filenames with full paths.
|
||||
for (Source s : now.sources().values()) {
|
||||
calculatedSources.add(s.file().getPath());
|
||||
// Don't include link only sources when comparing sources to compile
|
||||
if (!s.isLinkedOnly()) {
|
||||
calculatedSources.add(s.file().getPath());
|
||||
}
|
||||
}
|
||||
// Read in the file and create another set of filenames with full paths.
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue