System.out.println("CC"); System.out.println("Field " + fieldName + " not found in class " + className);
  public static VM_Field findVMField(String className, String fieldName)      throws BmapNotFoundException {    VM_Class cls = findVMClassByName(className);    VM_Field field[] = cls.getInstanceFields();    // check dynamic fields of this class and superclass    for (int i = 0, n = field.length; i < n; ++i) {      if (field[i].getName().toString().equals(fieldName)) {	return field[i];      }    }    // check static fields of this class and its superclass    VM_Class supercls = cls;    while (supercls!=null) {      field = supercls.getStaticFields();          for (int i = 0, n = field.length; i < n; ++i) {	if (field[i].getName().toString().equals(fieldName)) {	  return field[i];	}      }      supercls = supercls.getSuperClass();    }    System.out.println("CC");System.out.println("Field " + fieldName + " not found in class " + className);    throw new BmapNotFoundException("Field " + fieldName + " not found in class " + className);  }