Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0.CR1
    • Fix Version/s: 3.0.0.CR2
    • Component/s: Messages
    • Labels:
      None

      Description

      If you put something in the bundles with a locale for the first time, bundles.get(locale) is null and we get a NPE.

      public ResourceBundle put(final Locale locale, final String key, final ResourceBundle value)

      { return bundles.get(locale).put(key, value); }

      public void putAll(final Locale locale, final Map<? extends String, ? extends ResourceBundle> m)

      { bundles.get(locale).putAll(m); }

      Nested map access need a if(!bundles.containsKey(locale)) + map init

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kenfinni Ken Finnigan
                Reporter:
                nickarls Nicklas Karlsson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: