Locale.Builder.setLanguageTag(String) does not clear on empty or null String

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 26
    • Component/s: core-libs
    • None
    • b20
    • generic
    • generic

      Locale.Builder.setLanguageTag(String) is specified to clear the builder on an empty or null String.

      Instead, a java.util.IllformedLocaleException is thrown for an empty tag and a java.lang.NullPointerException is thrown for a null tag.

            Assignee:
            Justin Lu
            Reporter:
            Justin Lu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: