diff --git a/plugins/ant/src/com/intellij/lang/ant/config/impl/AntResourcesClassLoader.java b/plugins/ant/src/com/intellij/lang/ant/config/impl/AntResourcesClassLoader.java index 560b156565e7..152eff77c8e5 100644 --- a/plugins/ant/src/com/intellij/lang/ant/config/impl/AntResourcesClassLoader.java +++ b/plugins/ant/src/com/intellij/lang/ant/config/impl/AntResourcesClassLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2013 JetBrains s.r.o. + * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,9 +25,11 @@ import java.util.Set; /** * @author Eugene Zhuravlev -* Date: Oct 21, 2008 + * @since Oct 21, 2008 */ public class AntResourcesClassLoader extends UrlClassLoader { + static { registerAsParallelCapable(); } + private final Set myMisses = new THashSet(); public AntResourcesClassLoader(final List urls, final ClassLoader parentLoader, final boolean canLockJars, final boolean canUseCache) { @@ -56,4 +58,4 @@ public class AntResourcesClassLoader extends UrlClassLoader { throw e; } } -} +} \ No newline at end of file diff --git a/plugins/ui-designer/src/com/intellij/uiDesigner/LoaderFactory.java b/plugins/ui-designer/src/com/intellij/uiDesigner/LoaderFactory.java index bb5260b4ee54..e813af93f40f 100644 --- a/plugins/ui-designer/src/com/intellij/uiDesigner/LoaderFactory.java +++ b/plugins/ui-designer/src/com/intellij/uiDesigner/LoaderFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2014 JetBrains s.r.o. + * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -155,6 +155,8 @@ public final class LoaderFactory { } private static class DesignTimeClassLoader extends UrlClassLoader { + static { registerAsParallelCapable(); } + private final String myModuleName; public DesignTimeClassLoader(final List urls, final ClassLoader parent, final String moduleName) { @@ -167,4 +169,4 @@ public final class LoaderFactory { return "DesignTimeClassLoader:" + myModuleName; } } -} +} \ No newline at end of file