Integrated: 8276550: Use SHA256 hash in build.tools.depend.Depend
Aleksey Shipilev
shade at openjdk.java.net
Thu Nov 4 15:44:18 UTC 2021
On Wed, 3 Nov 2021 11:54:39 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> [JDK-8182285](https://bugs.openjdk.java.net/browse/JDK-8182285) added the incremental build capabilities for modules, by hashing the APIs of each module.
>
> The original change uses MD5, which is quite weak, and [JDK-8214483](https://bugs.openjdk.java.net/browse/JDK-8214483) allows `MessageDigest` to have no MD5 implementation. This is the cause of some build failures when using a FIPS-compliant boot JDK that has no MD5 implementation. I suggest we switch to the latest available hash instead.
>
> Additional testing:
> - [x] Linux x86_64 fastdebug build completes
> - [x] Linux x86_64 fastdebug build times do not regress
This pull request has now been integrated.
Changeset: afb502e2
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/afb502e28a81183cef76a7e60fc052e8cad3afe3
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8276550: Use SHA256 hash in build.tools.depend.Depend
Reviewed-by: adinn, aph, andrew, ihse
-------------
PR: https://git.openjdk.java.net/jdk/pull/6231
More information about the compiler-dev
mailing list