Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonrad Kolosowski2005-05-05 11:16:34 -0400
committerKonrad Kolosowski2005-05-05 11:16:34 -0400
commit62ff65e3f9b8b5576105e9ed3d45b92d54e46545 (patch)
tree2d146c96d321799018eb6e3272e1d1da0ce806a1 /org.eclipse.help.appserver
parentc1ef05ddc9481603ba8f071d4a63f487f4bf97ed (diff)
downloadeclipse.platform.ua-62ff65e3f9b8b5576105e9ed3d45b92d54e46545.tar.gz
eclipse.platform.ua-62ff65e3f9b8b5576105e9ed3d45b92d54e46545.tar.xz
eclipse.platform.ua-62ff65e3f9b8b5576105e9ed3d45b92d54e46545.zip
93790 NPE in DevClassPathHelper#load(URL)
Diffstat (limited to 'org.eclipse.help.appserver')
-rw-r--r--org.eclipse.help.appserver/src/org/eclipse/help/internal/appserver/DevClassPathHelper.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.help.appserver/src/org/eclipse/help/internal/appserver/DevClassPathHelper.java b/org.eclipse.help.appserver/src/org/eclipse/help/internal/appserver/DevClassPathHelper.java
index 369488de2..d971fae09 100644
--- a/org.eclipse.help.appserver/src/org/eclipse/help/internal/appserver/DevClassPathHelper.java
+++ b/org.eclipse.help.appserver/src/org/eclipse/help/internal/appserver/DevClassPathHelper.java
@@ -89,7 +89,8 @@ public class DevClassPathHelper {
is = url.openStream();
props.load(is);
} finally {
- is.close();
+ if (is != null)
+ is.close();
}
} catch (IOException e) {
// TODO consider logging here

Back to the top