incremental jdk builds

Alan Bateman Alan.Bateman at oracle.com
Mon Feb 11 08:03:56 PST 2013


On 11/02/2013 15:56, Michael McMahon wrote:
> Hi,
>
> Apologies if this has been asked before, but I vaguely remember
> there is an option to restrict the scope of searching 
> directories/packages
> when doing a rebuild, after only editing one or two java source files 
> (in the same directory).
> But I can't seem to find it. Can anyone shed any light on this?
>
> Thanks,
> Michael
make jdk-only JDK_FILTER=java/net

will just re-compile classes in java/net/**. Like incremental builds in 
the old build, you are on wing and a prayer when you do this but it 
useful to avoid re-compiling thousands of classes.

The "real" solution is sjavac, which does work, I'm just not sure when 
it will enabled by default.

-Alan



More information about the build-infra-dev mailing list