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

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

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: