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

Cleanup usages of toLowerCase() and toUpperCase() in java.base

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P4
    • 22
    • None
    • core-libs
    • None
    • b11

    Description

      Various places in java.base code use String.toLowerCase() and String.toUpperCase(). These APIs are locale sensitive and can return unexpected results depending on the default locale in use.

      This task is to review such usages in java.base module and replace them with relevant non-locale specific calls.

      There's currently a open PR proposing to do this cleanup https://github.com/openjdk/jdk/pull/14763

      Attachments

        Issue Links

          Activity

            People

              naoto Naoto Sato
              jpai Jaikiran Pai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: