JDK-8272391 : Undeleted debug information
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 8,11,17,18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-08-12
  • Updated: 2021-10-25
  • Resolved: 2021-08-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17 JDK 18
17.0.2Fixed 18 b11Fixed
Related Reports
Relates :  
Description
The debug information should be deleted in the DSAParameterGenerator.java:
        MessageDigest hashObj = null;
        try {
            hashObj = MessageDigest.getInstance(hashAlg);
        } catch (NoSuchAlgorithmException nsae) {
            // should never happen
-           nsae.printStackTrace();
        }

Comments
Backport request to jdk17, applies cleanly, tier1 runs ok.
25-08-2021

Apparently added by JDK-7044060 in 8.
13-08-2021

Changeset: e4766ee0 Author: Xue-Lei Andrew Fan <xuelei@openjdk.org> Date: 2021-08-12 19:28:01 +0000 URL: https://git.openjdk.java.net/jdk/commit/e4766ee0aa96ab80aeaca36afac5fcaa516620ef
12-08-2021