SGF-565 - Stackoverflow error when the 'locators' attribute is specified in any of the XCacheApplication annotations.

This commit is contained in:
John Blum
2016-11-09 09:40:54 -08:00
parent bcce3c0351
commit b2c8f18b23
2 changed files with 6 additions and 3 deletions

View File

@@ -687,7 +687,7 @@ public abstract class AbstractCacheConfiguration implements BeanClassLoaderAware
/* (non-Javadoc) */
void setLocators(String locators) {
this.locators = locators;
setMcastPort(DEFAULT_MCAST_PORT);
this.mcastPort = DEFAULT_MCAST_PORT;
}
protected String locators() {
@@ -714,7 +714,7 @@ public abstract class AbstractCacheConfiguration implements BeanClassLoaderAware
void setMcastPort(Integer mcastPort) {
this.mcastPort = mcastPort;
setLocators(DEFAULT_LOCATORS);
this.locators = DEFAULT_LOCATORS;
}
protected Integer mcastPort() {