This closes #2335
This commit is contained in:
commit
5a600114b4
|
@ -550,6 +550,8 @@ public class CoreMessage extends RefCountMessage implements ICoreMessage {
|
|||
* I am keeping this synchronized as the decode of the Properties is lazy
|
||||
*/
|
||||
protected TypedProperties checkProperties() {
|
||||
if (properties == null) {
|
||||
synchronized (this) {
|
||||
if (properties == null) {
|
||||
TypedProperties properties = new TypedProperties();
|
||||
if (buffer != null && propertiesLocation >= 0) {
|
||||
|
@ -558,6 +560,8 @@ public class CoreMessage extends RefCountMessage implements ICoreMessage {
|
|||
}
|
||||
this.properties = properties;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return this.properties;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue