code: @CallerSensitive
      public static Logger getLogger(String name, String resourceBundleName) {
          // Android-changed: Use VMStack.getStackClass1.
          /* J2ObjC modified.
          Class<?> callerClass = VMStack.getStackClass1();
          */
          Class<?> callerClass = null;
          Logger result = demandLogger(name, resourceBundleName, callerClass);
  
          if (result.resourceBundleName == null) {
              // We haven't set a bundle name yet on the Logger, so it's ok to proceed.
  
              // We have to set the callers ClassLoader here in case demandLogger
              // above found a previously created Logger.  This can happen, for
              // example, if Logger.getLogger(name) is called and subsequently
              // Logger.getLogger(name, resourceBundleName) is called.  In this case
              // we won't necessarily have the correct classloader saved away, so
              // we need to set it here, too.
  
              // Note: we may get a MissingResourceException here.
              result.setupResourceInfo(resourceBundleName, callerClass);
          } else if (!result.resourceBundleName.equals(resourceBundleName)) {
              // We already had a bundle name on the Logger and we're trying
              // to change it here which is not allowed.
              throw new IllegalArgumentException(result.resourceBundleName +
                                  " != " + resourceBundleName);
          }
          return result;
      }
docs: adding a new Logger object is handled by LogManager.addLogger().