/** * Unbind the static classloader instance from the current thread by binding the system * classloader instead. */ @AfterClass public static final void unbindClassLoader() { Thread.currentThread().setContextClassLoader(GwtClassLoader.get().getParent()); }
/** Bind the GwtClassLoader to the current thread */ @BeforeClass public static final void bindClassLoader() { Thread.currentThread().setContextClassLoader(GwtClassLoader.get()); }