code: void addBundle(EditableResourceBundle bundle) {
  		Locale locale = bundle.getBundleLocale();
  		if(!locales.contains(locale)) throw new AssertionError("locale not in locales: "+locale);
  		bundles.put(locale, bundle);
  	}
docs: The constructor of EditableResourceBundle adds itself here.