NullPointerException should be thrown in Locale.getInstance with null arguments

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: