Revision: 17771
          http://sourceforge.net/p/gate/code/17771
Author:   markagreenwood
Date:     2014-04-03 17:31:23 +0000 (Thu, 03 Apr 2014)
Log Message:
-----------
make sure to pass the classloader to the duplicated RHS rule instances

Modified Paths:
--------------
    gate/trunk/plugins/JAPE_Plus/src/gate/jape/plus/Transducer.java

Modified: gate/trunk/plugins/JAPE_Plus/src/gate/jape/plus/Transducer.java
===================================================================
--- gate/trunk/plugins/JAPE_Plus/src/gate/jape/plus/Transducer.java     
2014-04-03 15:10:01 UTC (rev 17770)
+++ gate/trunk/plugins/JAPE_Plus/src/gate/jape/plus/Transducer.java     
2014-04-03 17:31:23 UTC (rev 17771)
@@ -583,6 +583,10 @@
           this.singlePhaseTransducersData[i] = new SPTData(
               existingTransducer.singlePhaseTransducersData[i],
               this.singlePhaseTransducers[i].rules);
+          
+          for (Rule rule : this.singlePhaseTransducers[i].rules) {
+            rule.getRHS().finish(classLoader);
+          }
         }
       } else {
         if (classLoader != null) {

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


------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to