Summary
Change the message digest algorithm from MD5 to SHA-256
Problem
javap includes an MD5 checksum in its verbose output. This should be updated to use a more modern algorithm.
Solution
Change the algorithm to use SHA-256.
Specification
The man page is updated to refer to SHA-256.
@@ -84,7 +84,7 @@
: Prints internal type signatures.
`-sysinfo`
-: Shows system information (path, size, date, MD5 hash) of the class being
+: Shows system information (path, size, date, SHA-256 hash) of the class being processed.
`-constants`
- csr of
-
JDK-8225748 Use SHA-256 for javap classfile checksum
-
- Resolved
-
- relates to
-
JDK-8226278 add ability to specify checksum for javap
-
- New
-