[ 
https://issues.apache.org/jira/browse/GEODE-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kirk Lund resolved GEODE-2735.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0

This was fixed as duplicate ticket GEODE-2928

> CliUtil.isGfshVM is not thread-safe and unnecessary
> ---------------------------------------------------
>
>                 Key: GEODE-2735
>                 URL: https://issues.apache.org/jira/browse/GEODE-2735
>             Project: Geode
>          Issue Type: Wish
>          Components: gfsh
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>             Fix For: 1.3.0
>
>
> The top of CliUtil defines:
> {noformat}
> public static final String GFSHVM_IDENTIFIER = "gfsh";
> public static boolean isGfshVM = Boolean.getBoolean(GFSHVM_IDENTIFIER);
> {noformat}
> Tests then set isGfshVM and unset that in setup/teardown. Various GFSH 
> commands check the state of this boolean.
> It would be thread-safe if it were volatile, but I'd prefer to just get rid 
> of this static variable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to