Enhance the keytool code by invoking the buildTrustedCerts method for essential options

XMLWordPrintable

        Optimize the buildTrustedCerts() method by ensuring it's invoked only when the -trustcacerts option is specified. Currently, the code lacks this conditional guarding.

        https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/sun/security/tools/keytool/Main.java#L1135

              Assignee:
              Prasadarao Koppula (Inactive)
              Reporter:
              Prasadarao Koppula (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: