Excessive rebuilds of modules

joe darcy joe.darcy at oracle.com
Wed May 20 20:10:36 UTC 2015


On 5/20/2015 11:15 AM, Ioi Lam wrote:
> If I change a line of code in the java.base module, every Java module 
> is rebuilt. However, my change does not change any of the APIs or the 
> module info.
>
> I think this means none of the other modules would be affected. If 
> this is true, maybe we can modify the build system to check this and 
> avoid the excessive rebuilds?
>
> Thanks
> - Ioi

 From just a module dependency perspective, since everything depends on 
the base module, everything should rebuilt.

The sjavac feature intends to provide the finer-level dependency 
tracking and rebuilding you're asking for.

Cheers,

-Joe



More information about the build-dev mailing list