You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@apache.org on 2002/05/15 08:39:00 UTC
cvs commit: xml-xerces/java/src/org/apache/html/dom HTMLDocumentImpl.java
andyc 02/05/14 23:39:00
Modified: java/src/org/apache/html/dom HTMLDocumentImpl.java
Log:
Fixed a possible thread issue in the initialization of the
HTML DOM implementation. The initialization code was not
synchronized which could lead to problems in certain
circumstances.
Revision Changes Path
1.10 +2 -2 xml-xerces/java/src/org/apache/html/dom/HTMLDocumentImpl.java
Index: HTMLDocumentImpl.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/html/dom/HTMLDocumentImpl.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- HTMLDocumentImpl.java 26 Apr 2002 09:16:17 -0000 1.9
+++ HTMLDocumentImpl.java 15 May 2002 06:39:00 -0000 1.10
@@ -83,7 +83,7 @@
* methods ({@link #getURL}, {@link #getCookie}).
*
*
- * @version $Revision: 1.9 $ $Date: 2002/04/26 09:16:17 $
+ * @version $Revision: 1.10 $ $Date: 2002/05/15 06:39:00 $
* @author <a href="mailto:arkin@exoffice.com">Assaf Arkin</a>
* @see org.w3c.dom.html.HTMLDocument
*/
@@ -692,7 +692,7 @@
* #_elementTypesHTML}). Will be called multiple times but populate the list
* only the first time. Replacement for static constructor.
*/
- private static void populateElementTypes()
+ private synchronized static void populateElementTypes()
{
// This class looks like it is due to some strange
// (read: inconsistent) JVM bugs.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org