Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsboshev2008-09-23 06:48:38 +0000
committersboshev2008-09-23 06:48:38 +0000
commit130e135cf4ede6e188705a973a5b8615fc3d985d (patch)
tree01a5b39c62f01727317c03f76536e18fd3570c9d
parent09f07c5393b2b3acab59622e893d2a22f7194839 (diff)
downloadrt.equinox.bundles-130e135cf4ede6e188705a973a5b8615fc3d985d.tar.gz
rt.equinox.bundles-130e135cf4ede6e188705a973a5b8615fc3d985d.tar.xz
rt.equinox.bundles-130e135cf4ede6e188705a973a5b8615fc3d985d.zip
Bug 247821. [DS] Properties files are loaded as resources
-rw-r--r--bundles/org.eclipse.equinox.ds/src/org/eclipse/equinox/internal/ds/model/DeclarationParser.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.ds/src/org/eclipse/equinox/internal/ds/model/DeclarationParser.java b/bundles/org.eclipse.equinox.ds/src/org/eclipse/equinox/internal/ds/model/DeclarationParser.java
index 5f8d3c83e..b51939d32 100644
--- a/bundles/org.eclipse.equinox.ds/src/org/eclipse/equinox/internal/ds/model/DeclarationParser.java
+++ b/bundles/org.eclipse.equinox.ds/src/org/eclipse/equinox/internal/ds/model/DeclarationParser.java
@@ -389,9 +389,10 @@ public class DeclarationParser implements ExTagListener {
InputStream is = null;
try {
- URL resource = bundle.getResource(fileEntry);
+ URL resource = bundle.getEntry(fileEntry);
is = resource != null ? resource.openStream() : null;
} catch (IOException ignore) {
+ //ignore
}
boolean invalid = true;

Back to the top