On Mon, 24 Aug 2026 12:43:44 GMT, Yunbo Zhang <[email protected]> wrote:
> After [8288396: Always create reproducible > builds](https://github.com/openjdk/jdk/commit/b4ab5fe1daf22a543e1bd973bcd34322360054b4), > `abstract_vm_version.cpp` uses `HOTSPOT_BUILD_TIME` instead of `__DATE__` > and `__TIME__`. > > However, `abstract_vm_version.o` still depends on the other `libjvm` target > dependencies. This can cause it to be rebuilt when an unrelated HotSpot > source file is changed. This dependency is no longer needed. > > Testing: > - Touched `src/hotspot/share/runtime/arguments.cpp` and rebuilt with > `LOG=debug`. > - `arguments.cpp` was recompiled, but no compile command for > `abstract_vm_version.cpp` was generated. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: bbfceab6 Author: Yunbo Zhang <[email protected]> Committer: Julian Waters <[email protected]> URL: https://git.openjdk.org/jdk/commit/bbfceab643bafdc5a4e661a1ae34bef0bf9c6215 Stats: 7 lines in 1 file changed: 0 ins; 7 del; 0 mod 8369182: Don't force recompile of abstract_vm_version.cpp Reviewed-by: erikj, jwaters ------------- PR: https://git.openjdk.org/jdk/pull/32505
