mirror of https://github.com/apache/jmeter.git
Bug 59964 - JSR223 Test Element : Cache compiled script if available is not correctly reset
Contributed by Ubik Load Pack Bugzilla Id: 59964 git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1756029 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1e9724d99c
commit
4b83ca537a
|
|
@ -29,6 +29,7 @@ import java.util.UUID;
|
|||
import javax.swing.JCheckBox;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.jmeter.gui.ClearGui;
|
||||
import org.apache.jmeter.testbeans.BeanInfoSupport;
|
||||
import org.apache.jmeter.testbeans.TestBean;
|
||||
import org.apache.jmeter.testbeans.gui.FileEditor;
|
||||
|
|
@ -116,7 +117,7 @@ public abstract class ScriptingBeanInfoSupport extends BeanInfoSupport {
|
|||
|
||||
}
|
||||
|
||||
public static class JSR223ScriptCacheCheckboxEditor extends PropertyEditorSupport implements ActionListener {
|
||||
public static class JSR223ScriptCacheCheckboxEditor extends PropertyEditorSupport implements ActionListener, ClearGui {
|
||||
|
||||
private final JCheckBox checkbox;
|
||||
|
||||
|
|
@ -198,5 +199,11 @@ public abstract class ScriptingBeanInfoSupport extends BeanInfoSupport {
|
|||
public boolean supportsCustomEditor() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clearGui() {
|
||||
initialValue = null;
|
||||
checkbox.setSelected(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -172,6 +172,7 @@ Summary
|
|||
|
||||
<h3>Timers, Assertions, Config, Pre- & Post-Processors</h3>
|
||||
<ul>
|
||||
<li><bug>59964</bug>JSR223 Test Element : Cache compiled script if available is not correctly reset. Contributed by Ubik Load Pack (support at ubikloadpack.com)</li>
|
||||
</ul>
|
||||
|
||||
<h3>Functions</h3>
|
||||
|
|
|
|||
Loading…
Reference in New Issue