package hudson.remoting;

import junit.framework.TestCase;

/**
 * @author Kohsuke Kawaguchi
 */
public class DummyClassLoaderTest extends TestCase {
    public void testLoad() throws Throwable {
        DummyClassLoader cl = new DummyClassLoader(this.getClass().getClassLoader());
        Callable c = (Callable) cl.loadClass("hudson.remoting.test.TestCallable").newInstance();
        System.out.println(c.call());
        // make sure that the returned class is loaded from the dummy classloader
        assertTrue(c.call().toString().startsWith(DummyClassLoader.class.getName()));
    }
}

@@ -511,24 +511,35 @@
 ertTrue(
+((Object%5B%5D)
 c.call()
 .toStrin
@@ -530,16 +530,20 @@
 c.call()
+)%5B0%5D
 .toStrin

fixed a test.