예제 #1
0
 /**
  * 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());
 }
예제 #2
0
 /** Bind the GwtClassLoader to the current thread */
 @BeforeClass
 public static final void bindClassLoader() {
   Thread.currentThread().setContextClassLoader(GwtClassLoader.get());
 }