Author: scabanovich
Date: 2010-09-07 08:16:11 -0400 (Tue, 07 Sep 2010)
New Revision: 24759
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/XMLContentDescriber.java
Log:
https://jira.jboss.org/browse/JBIDE-3875
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/XMLContentDescriber.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/XMLContentDescriber.java 2010-09-07
11:49:23 UTC (rev 24758)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/editor/XMLContentDescriber.java 2010-09-07
12:16:11 UTC (rev 24759)
@@ -19,6 +19,7 @@
import org.jboss.tools.common.CommonPlugin;
import org.jboss.tools.common.model.loaders.EntityRecognizerContext;
import org.jboss.tools.common.model.options.PreferenceModelUtilities;
+import org.jboss.tools.common.model.util.ClassLoaderUtil;
import org.jboss.tools.common.util.FileUtil;
/**
@@ -26,6 +27,10 @@
*/
public class XMLContentDescriber extends
org.eclipse.core.runtime.content.XMLContentDescriber implements ITextContentDescriber {
+ static {
+ ClassLoaderUtil.init();
+ }
+
public int describe(InputStream contents, IContentDescription description) throws
IOException {
super.describe(contents, description);
contents.reset();