Make sure _all_ access to TypeManager.prototype field is synchronized.

This commit is contained in:
hns 2008-07-21 23:05:28 +00:00
parent 51ba3dc963
commit 01e8b5ccbd

View file

@ -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;
}