System.setSecurityManager(sm);
new Test();
}
Object invokeMethod(Object target,Method m,Object args[]) throws Exception {
SingletonResolver r = new SingletonResolver(target);
Invoker invoker = r.createInvoker();
return invoker.invoke(null, m, args);
}