From e7924c8c682bd09ea6625fc36b64b043ee57a613 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Tue, 1 Jul 2014 19:30:35 +0200 Subject: [PATCH] EA-57784 (behavior restored; diagnostic added) --- .../util/src/com/intellij/util/lang/JarLoader.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/platform/util/src/com/intellij/util/lang/JarLoader.java b/platform/util/src/com/intellij/util/lang/JarLoader.java index a088275a7913..15556a8d0a52 100644 --- a/platform/util/src/com/intellij/util/lang/JarLoader.java +++ b/platform/util/src/com/intellij/util/lang/JarLoader.java @@ -58,8 +58,17 @@ class JarLoader extends Loader { } void preloadClasses() { + ZipFile zipFile; + + try { + zipFile = acquireZipFile(); + } + catch (Exception e) { + LOG.debug("url: " + myURL, e); + return; + } + try { - ZipFile zipFile = acquireZipFile(); try { JarMemoryLoader loader = JarMemoryLoader.load(zipFile, getBaseURL()); if (loader != null) {