Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2019-01-25 19:57:47 +0000
committerThomas Watson2019-01-25 20:16:52 +0000
commit49015d0dbb93bd2f9a2d53dc5f6ef0210248cfbc (patch)
tree3be48bd4cdb8940c7aee24a29556633c7fed35e5
parentcc8f8c7650886dad08e30e81fdca8b164b24986f (diff)
downloadrt.equinox.framework-I20190131-1800.tar.gz
rt.equinox.framework-I20190131-1800.tar.xz
rt.equinox.framework-I20190131-1800.zip
extension files Change-Id: Icb3482481c935bda43ab7fbb008aeec149326c25 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/FrameworkExtensionInstaller.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/FrameworkExtensionInstaller.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/FrameworkExtensionInstaller.java
index d4f7766dd..c54dc4cab 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/FrameworkExtensionInstaller.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/storage/FrameworkExtensionInstaller.java
@@ -167,6 +167,8 @@ public class FrameworkExtensionInstaller {
paths.add("."); //$NON-NLS-1$
}
if (configuration.inDevelopmentMode()) {
+ // must create a copy because paths could be unmodifiable
+ paths = new ArrayList<>(paths);
String[] devPaths = configuration.getDevClassPath(revision.getSymbolicName());
for (String devPath : devPaths) {
paths.add(devPath);

Back to the top