public void run() throws Exception {
RemoteMethodControl main = createValidMainProxy();
ProxyTrust boot = createValidBootProxy();
ProxyTrustInvocationHandler ptih = createPTIH(main, boot);
Object proxy = ProxyTrustUtil.newProxyInstance(
new Interface1Impl(), ptih);
Method m = Object.class.getDeclaredMethod("equals",
new Class[] { Object.class });
TestClassLoader cl = new TestClassLoader();
Object[] args = new Object[] {
proxy,
ProxyTrustUtil.newProxyInstance(new Interface1Impl(), ptih, cl),
ProxyTrustUtil.newProxyInstance(new Interface1Impl()),
ProxyTrustUtil.newProxyInstance(new Interface2Impl(), ptih),
ProxyTrustUtil.newProxyInstance(new Interface12Impl(), ptih)};
boolean[] expRes = new boolean[] { true, true, false, false, false };
Object res;