You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Tobbi <to...@systinet.com> on 2002/03/19 14:36:51 UTC
Bug in SchemaDVFactoryImpl
Hi,
I'm working with Xerces source code (today's last update) and I've found a bug.
In class org.apache.xerces.impl.dv.xs.SchemaDVFactoryImpl is static method "XSSimpleType getBuiltInType(String)" which calls to "prepareBuiltInTypes()". Synchronizing in "prepareBuiltInTypes()" is unsafety because of line no. 227. Here should be local variable set instead of global. In this way locks don't work.
Tomas Bouda