incremental builds in the new JDK9 modular build
weijun.wang at oracle.com
Thu Aug 21 02:07:10 UTC 2014
On Aug 21, 2014, at 5:37, Mandy Chung <Mandy.Chung at oracle.com> wrote:
> On 8/20/2014 1:26 PM, Phil Race wrote:
>> I understood we now build individual modules so when
>> I touched one java source file in the desktop module I expected to see only
>> that one module rebuilt but I see this :-
> java.desktop and all its dependencies are recompiled. The dependencies
> are currently stored in modules.list file
I don't know which file in java.desktop Phil touched, but if there is no API change, I cannot see why dependent modules need to be rebuilt.
It's a great plain for me when I only add one System.out.println() call inside ClassLoader.java. :-(
> $ grep desktop <top>/make/common/modules.list
> Erik's summary of the new targets is a useful reference:
> See also -only, -java, etc suffix to the java.desktop target that may be useful.
> JDK_FILTER should still be working.
More information about the build-dev