Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Muskalla2012-09-06 09:23:02 +0000
committerSteffen Pingel2012-09-10 20:05:31 +0000
commitd5bd686b534daef740e136c8ec652ebc86c8c00c (patch)
tree4a3c1b35d9e9c1f176c95746da5c2364fecbb4d9 /org.eclipse.mylyn.tasks.core
parent2d49eec5ec62ff293744ed90aff1cd6c978e0a1b (diff)
downloadorg.eclipse.mylyn.tasks-d5bd686b534daef740e136c8ec652ebc86c8c00c.tar.gz
org.eclipse.mylyn.tasks-d5bd686b534daef740e136c8ec652ebc86c8c00c.tar.xz
org.eclipse.mylyn.tasks-d5bd686b534daef740e136c8ec652ebc86c8c00c.zip
NEW - bug 388222: RepositoryClientManager fails to deserialize configs
with arrays https://bugs.eclipse.org/bugs/show_bug.cgi?id=388222 Change-Id: Ie3ddf0439a231d1b93a1687dfd2f9a8ae3fb7039
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryClientManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryClientManager.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryClientManager.java
index be600b47c..252373c80 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryClientManager.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/RepositoryClientManager.java
@@ -47,7 +47,7 @@ public abstract class RepositoryClientManager<T, C extends Serializable> impleme
@Override
protected Class<?> resolveClass(ObjectStreamClass desc) throws IOException, ClassNotFoundException {
try {
- return repositoryConfigurationClass.getClassLoader().loadClass(desc.getName());
+ return Class.forName(desc.getName(), true, repositoryConfigurationClass.getClassLoader());
} catch (Exception e) {
return super.resolveClass(desc);
}

Back to the top