Author: sebb Date: Fri Sep 19 14:04:09 2008 New Revision: 697242 URL: http://svn.apache.org/viewvc?rev=697242&view=rev Log: Ensure subclasses use the readResolve() method
Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BSFTestElement.java jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellTestElement.java Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BSFTestElement.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BSFTestElement.java?rev=697242&r1=697241&r2=697242&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BSFTestElement.java (original) +++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BSFTestElement.java Fri Sep 19 14:04:09 2008 @@ -68,7 +68,7 @@ scriptLanguage=""; } - private Object readResolve() { + protected Object readResolve() { init(); return this; } Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellTestElement.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellTestElement.java?rev=697242&r1=697241&r2=697242&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellTestElement.java (original) +++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellTestElement.java Fri Sep 19 14:04:09 2008 @@ -90,7 +90,7 @@ } } - private Object readResolve() { + protected Object readResolve() { init(); return this; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]