jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] 02/02: Synchronize access to variable on read
Date Fri, 27 Sep 2019 20:51:49 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 6915adbca5671c52f5e1db7d5e95cff777405cc1
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Fri Sep 27 22:50:17 2019 +0200

    Synchronize access to variable on read
    
    It is already synchronized on writing,
    so doing it on reading seems sensible.
---
 .../jmeter/extractor/json/render/AbstractRenderAsJsonRenderer.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/src/main/java/org/apache/jmeter/extractor/json/render/AbstractRenderAsJsonRenderer.java
b/src/components/src/main/java/org/apache/jmeter/extractor/json/render/AbstractRenderAsJsonRenderer.java
index 3a2c4a2..9647a6d 100644
--- a/src/components/src/main/java/org/apache/jmeter/extractor/json/render/AbstractRenderAsJsonRenderer.java
+++ b/src/components/src/main/java/org/apache/jmeter/extractor/json/render/AbstractRenderAsJsonRenderer.java
@@ -250,7 +250,7 @@ abstract class AbstractRenderAsJsonRenderer implements ResultRenderer,
ActionLis
     /**
      * @return the rightSide
      */
-    protected JTabbedPane getRightSide() {
+    protected synchronized JTabbedPane getRightSide() {
         return rightSide;
     }
 


Mime
View raw message