Make sure _all_ access to TypeManager.prototype field is synchronized.
This commit is contained in:
parent
51ba3dc963
commit
01e8b5ccbd
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ public final class TypeManager {
|
|||
/**
|
||||
* Get a prototype defined for this application
|
||||
*/
|
||||
public Prototype getPrototype(String typename) {
|
||||
public synchronized Prototype getPrototype(String typename) {
|
||||
if (typename == null) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue