コード例 #1
0
ファイル: GwtTest.java プロジェクト: MaxDhn/gwt-test-utils
 /**
  * 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
ファイル: GwtTest.java プロジェクト: MaxDhn/gwt-test-utils
 /** Bind the GwtClassLoader to the current thread */
 @BeforeClass
 public static final void bindClassLoader() {
   Thread.currentThread().setContextClassLoader(GwtClassLoader.get());
 }