Build the jdk with new or modified sources

Lorris lorris.creantor at gmail.com
Tue Feb 27 13:13:38 UTC 2024


I don’t have problems with clock skew (or at least I never encountered any problem with it until today). The problem I was referring to in this statement is when I modify a class A, to add for example a method to it, and then reference this new method in another file B, when I build for the first time, I won’t have any problem. Although, if after this build I modify the B file, the next build will result in an error stating that the A method does not exist. If the A class has been modified after the files referencing the new methods it contains everything works correctly, but not vice versa.

Lorris

> On 26 Feb 2024, at 22:22, Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> wrote:
> 
> On 2024-02-26 14:40, Lorris wrote:
> 
>> (it seems to depend on the date of the last edited file)
> Just checking: do you have a problem with clock skew on your machine, or are you using some tools that modify time stamps on modified files? The make machinery depends on the fact that edited files should have a newer timestamp. If this does not work properly, dependency tracking will fail.
> 
> /Magnus
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20240227/ea56041d/attachment-0001.htm>


More information about the build-dev mailing list