public synchronized Class defineClass(String name,byte[] bytecode,ProtectionDomain domain){
  inDefine=true;
  Class c=defineClass(name,bytecode,0,bytecode.length,domain);
  loadedClasses.put(name,c);
  resolveClass(c);
  inDefine=false;
  return c;
}

public synchronized Class defineClass ( String name , byte [ ] bytecode , ProtectionDomain domain ) { inDefine = true ; Class c = defineClass ( name , bytecode , 0 , bytecode . length , domain ) ; loadedClasses . put ( name , c ) ; resolveClass ( c ) ; inDefine = false ; return c ; }
helper method to define reflector classes .
