Author: sebb
Date: Mon Nov 10 18:10:37 2008
New Revision: 712910

URL: http://svn.apache.org/viewvc?rev=712910&view=rev
Log:
Lock object needs to be serializable

Modified:
    
jakarta/jmeter/trunk/src/components/org/apache/jmeter/control/ThroughputController.java

Modified: 
jakarta/jmeter/trunk/src/components/org/apache/jmeter/control/ThroughputController.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/components/org/apache/jmeter/control/ThroughputController.java?rev=712910&r1=712909&r2=712910&view=diff
==============================================================================
--- 
jakarta/jmeter/trunk/src/components/org/apache/jmeter/control/ThroughputController.java
 (original)
+++ 
jakarta/jmeter/trunk/src/components/org/apache/jmeter/control/ThroughputController.java
 Mon Nov 10 18:10:37 2008
@@ -72,7 +72,8 @@
 
     private MutableInteger globalIteration;
 
-    private Object counterLock = new Object(); // ensure counts are updated 
correctly
+    private String counterLock = ""; // ensure counts are updated correctly
+    // Need to use something that is serializable, so Object is no use
 
     /**
      * Number of iterations on which we've chosen to deliver samplers.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to