RFR 8054715: Changing the source roots and/or their filters forces a full recompile.
Fredrik Öhrström
oehrstroem at gmail.com
Fri Aug 8 21:16:14 UTC 2014
Changing the source roots and/or their filters forces a full recompile,
since the source roots and the filters are included in the command line
memory in the javac_state file.
This is a bug, since all changes to the set of source files should be
gracefully handled incrementally.
SJavac should do an incremental compile both when:
beta/B.java is deleted from the file system (this works)
or when
"-x beta" is added to the command line to exclude beta/B.java from
compilation (this does not work).
Simple fix, do not include the filters and the source roots in the memory
line in the javac_state file.
http://cr.openjdk.java.net/~ohrstrom/webrev-8054715-sources/
https://bugs.openjdk.java.net/browse/JDK-8054715
//Fredrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140808/53af7ff7/attachment.html>
More information about the compiler-dev
mailing list