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

Unexpected NPE from toLowerCase

    Details

    • Subcomponent:
    • Resolved In Build:
      01
    • CPU:
      generic, x86
    • OS:
      generic, windows_xp

      Backports

        Description

        toLowerCase(Locale.ENGLISH) failes with NPE for some strings.
        This behavior is unspecified and different from 1.4.2

        Use following testcase to reproduce:

        import java.util.Locale;
        public class LC {
         public static void main(String[] args) {
            System.err.println("Yo\uffffhic".toLowerCase(Locale.ENGLISH));
         }
        }

        ###@###.### 2004-09-14

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  nlindenbsunw Norbert Lindenberg (Inactive)
                  Reporter:
                  igor Igor Nekrestyanov (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: