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

Operation before String case conversion

    XMLWordPrintable

    Details

      Description

      In the security components, there are cases that the string case-insensitive operations are performed before the case conversion. The behavior may be not expected.

      For example, in the SignatureUtil implementation, the checkName() requires case-insensitive input. However, the method is called before the case conversion, for example:

                  sigName = checkName(sigName).toUpperCase(Locale.ENGLISH);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xuelei Xuelei Fan
              Reporter:
              xuelei Xuelei Fan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: