Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Besedin2008-09-25 17:26:17 +0000
committerOleg Besedin2008-09-25 17:26:17 +0000
commit306048aac05147ab402048fec5aa6518c3c812b3 (patch)
treed05860edf6d8fbed233227a71940178680fd8bf3
parenteed56f3edcb7b5f9c4e16d1b2ccf6ddbbb12bc95 (diff)
downloadrt.equinox.bundles-306048aac05147ab402048fec5aa6518c3c812b3.tar.gz
rt.equinox.bundles-306048aac05147ab402048fec5aa6518c3c812b3.tar.xz
rt.equinox.bundles-306048aac05147ab402048fec5aa6518c3c812b3.zip
Bug 247170 ExtensionsParser key translation can call RegistryStrategy.translate() with incomplete key
-rw-r--r--bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java
index 11a096d65..88b45dab4 100644
--- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java
+++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ExtensionsParser.java
@@ -178,7 +178,7 @@ public class ExtensionsParser extends DefaultHandler {
configurationElementValue = configurationElementValue + value;
}
if (configurationElementValue != null)
- currentConfigElement.setValue(translate(configurationElementValue));
+ currentConfigElement.setValue(configurationElementValue);
}
}
@@ -253,7 +253,7 @@ public class ExtensionsParser extends DefaultHandler {
String value = currentConfigElement.getValueAsIs();
if (value != null) {
- currentConfigElement.setValue(value.trim());
+ currentConfigElement.setValue(translate(value).trim());
}
RegistryObject parent = (RegistryObject) objectStack.peek();

Back to the top