Excessive rebuilds of modules
Roger.Riggs at Oracle.com
Wed May 20 20:12:18 UTC 2015
You can rebuild just the contents of a single module:
% make java.base java.base-libs java.base-launchers
On 5/20/2015 4:10 PM, joe darcy wrote:
> 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?
>> - 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.
More information about the build-dev