code: public Class<?> forName(final String name) throws ClassNotFoundException {
          if (System.getSecurityManager() == null)
              return Class.forName(name);
          try {
              return AccessController.doPrivileged(new PrivilegedExceptionAction<Class<?>>() {
                  @Override
                  public Class<?> run() throws Exception {
                      return Class.forName(name);
                  }
              }, controlContext);
          } catch (PrivilegedActionException e) {
              if (e.getException() instanceof ClassNotFoundException)
                  throw (ClassNotFoundException) e.getException();
              throw (RuntimeException) e.getException();
          }
      }
docs: Returns a Class. Same as calling
  Class.forName(name)
  
  @param name the name of the class.
  @return a Class
  @throws ClassNotFoundException