Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8151836

keytool -importkeystore -help does not list option -destprotected

XMLWordPrintable

    • b123
    • generic
    • generic

      FULL PRODUCT VERSION :
      java full version "1.8.0_74-b02"
      java full version "9-ea+106-2016-02-17-190733.javare.4476.nc"

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      The "keytool -importkeystore" command has 2 options, -srcprotected and -destprotected (cf. https://docs.oracle.com/javase/8/docs/technotes/tools/windows/keytool.html#keytool_option_importkeystore ). However, when executing "keytool -importkeystore -help", -destprotected is not listed.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      In a Windows command-prompt, execute the following command:
      keytool -importkeystore -help

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      [...]
       -srcprotected source keystore password protected
      [...]
      ACTUAL -
      [...]
      -srcprotected source keystore password is protected
      -destprotected destination keystore password is protected
      [...]

      REPRODUCIBILITY :
      This bug can be reproduced always.

            weijun Weijun Wang
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: