public Value getSystemClassLoader(ThreadReference tr)
     throws InvalidTypeException, ClassNotLoadedException, IncompatibleThreadStateException,
         InvocationException {
   DalvikUtils.LOGGER.info(
       "attempting to get the system class loader (Class.getSystemClassLoader)");
   Value toreturn = null;
   ClassType cl = this.findClassType("java.lang.ClassLoader");
   if (cl != null) {
     List<Method> getSCLMS = cl.methodsByName("getSystemClassLoader");
     Method getSCL = getSCLMS.get(0);
     if (getSCL != null) {
       Value result = cl.invokeMethod(tr, getSCL, new ArrayList<Value>(), 0);
       toreturn = result;
     }
   }
   return toreturn;
 }