code: private synchronized void setupResourceInfo(String name,
                                                  Class<?> callersClass) {
          if (name == null) {
              return;
          }
  
          /* J2ObjC removed.
          setCallersClassLoaderRef(callersClass);
          */
          if (findResourceBundle(name, true) == null) {
              // We've failed to find an expected ResourceBundle.
              // unset the caller's ClassLoader since we were unable to find the
              // the bundle using it
              this.callersClassLoaderRef = null;
              throw new MissingResourceException("Can't find " + name + " bundle",
                                                  name, "");
          }
          resourceBundleName = name;
      }
docs: Synchronized to prevent races in setting the fields.