[ https://issues.apache.org/jira/browse/GEODE-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirk Lund reassigned GEODE-2735: -------------------------------- Assignee: Kirk Lund > CliUtil.isGfshVM is not thread-safe and unnecessary > --------------------------------------------------- > > Key: GEODE-2735 > URL: https://issues.apache.org/jira/browse/GEODE-2735 > Project: Geode > Issue Type: Bug > Components: gfsh > Reporter: Kirk Lund > Assignee: Kirk Lund > > 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.3.15#6346)