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

NullPointerException should be thrown in Locale.getInstance with null arguments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • core-libs
    • None
    • b52
    • generic
    • generic

      The package private method Locale.getInstance(String, String, String) spec says that it should thrown a NullPointerException if any argument is null. Currently, the exception is not thrown, instead String "null" is added for the null parameter.

            naoto Naoto Sato
            naoto Naoto Sato
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: