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

Rename some security-related resource keys

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 25
    • security-libs
    • None

      In JDK-8342062, this change was made in jarsigner resources:

      - {"key.bit.weak", "%d-bit key (weak)"},
      + {"key.bit.weak", "%s key (weak)"},

      Note that the key is unchanged but the printf modifier inside the value is changed from %d to %s. The caller is now providing a string argument, however, for those non-English resources that have not beed localized yet, an error will report "%d cannot be used with a string".

      We should have introduced new resource keys instead of reusing the old ones.

            Unassigned Unassigned
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: