Skip to content

Commit

Permalink
8276550: Use SHA256 hash in build.tools.depend.Depend
Browse files Browse the repository at this point in the history
Reviewed-by: andrew
Backport-of: afb502e28a81183cef76a7e60fc052e8cad3afe3
  • Loading branch information
shipilev committed Nov 12, 2021
1 parent e608a20 commit 6ec651f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make/jdk/src/classes/build/tools/depend/Depend.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void init(JavacTask jt, String... args) {
private final MessageDigest apiHash;
{
try {
apiHash = MessageDigest.getInstance("MD5");
apiHash = MessageDigest.getInstance("SHA-256");
} catch (NoSuchAlgorithmException ex) {
throw new IllegalStateException(ex);
}
Expand Down

1 comment on commit 6ec651f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.