Details
-
Type:
CSR
-
Status: Closed
-
Priority:
P3
-
Resolution: Approved
-
Fix Version/s: 14
-
Component/s: tools
-
Labels:None
-
Subcomponent:
-
Compatibility Kind:behavioral
-
Compatibility Risk:minimal
-
Compatibility Risk Description:This is just for information to help verify the class file is as expected.
-
Interface Kind:Other
Description
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`
Attachments
Issue Links
- csr of
-
JDK-8225748 Use SHA-256 for javap classfile checksum
-
- Resolved
-
- relates to
-
JDK-8226278 add ability to specify checksum for javap
-
- New
-