Revision: 20285
          http://sourceforge.net/p/gate/code/20285
Author:   johann_p
Date:     2018-04-25 11:38:24 +0000 (Wed, 25 Apr 2018)
Log Message:
-----------
Backport the suggested fix for issue
https://github.com/GateNLP/gate-core/issues/27
see
https://github.com/GateNLP/gate-core/commit/b96506c6abd29741f7db250956ca49fdef1178dc
mainly for developers who still need to use the 8.4.x version for some reason 
or other and
encounter this problem.

Modified Paths:
--------------
    gate/trunk/src/main/gate/util/GateClassLoader.java

Modified: gate/trunk/src/main/gate/util/GateClassLoader.java
===================================================================
--- gate/trunk/src/main/gate/util/GateClassLoader.java  2018-04-20 11:30:54 UTC 
(rev 20284)
+++ gate/trunk/src/main/gate/util/GateClassLoader.java  2018-04-25 11:38:24 UTC 
(rev 20285)
@@ -53,6 +53,12 @@
   /** Debug flag */
   private static final boolean DEBUG = false;
 
+  static {
+    if (!GateClassLoader.registerAsParallelCapable()) {
+      log.warn("Attempt to register GATE Classloader as parallel capable 
failed");
+    }
+  }
+
   /** Default construction - use an empty URL list. */
   public GateClassLoader(String name) {
     super(new URL[0]);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GATE-cvs mailing list
GATE-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to