1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 06:45:43 +02:00

[239073] [dstore] [multithread] In multithread, the cache jar should be assigned after the client is set

This commit is contained in:
David McKnight 2008-07-02 14:00:33 +00:00
parent b49dcc82a3
commit 91559f101d

View file

@ -24,6 +24,7 @@
* Noriaki Takatsu (IBM) - [228156] [dstore] DataElementRemover thread doesn't terminate after a client disconnects the server * Noriaki Takatsu (IBM) - [228156] [dstore] DataElementRemover thread doesn't terminate after a client disconnects the server
* David McKnight (IBM) - [226561] [apidoc] Add API markup to RSE Javadocs where extend / implement is allowed * David McKnight (IBM) - [226561] [apidoc] Add API markup to RSE Javadocs where extend / implement is allowed
* David McKnight (IBM) - [231639] [dstore] in single-process multi-client mode tracing shouldn't start until the client is set * David McKnight (IBM) - [231639] [dstore] in single-process multi-client mode tracing shouldn't start until the client is set
* Noriaki Takatsu (IBM) - [239073] [dstore] [multithread] In multithread, the cache jar should be assigned after the client is set
*******************************************************************************/ *******************************************************************************/
package org.eclipse.dstore.core.model; package org.eclipse.dstore.core.model;
@ -3653,7 +3654,10 @@ public final class DataStore
setDefaultByteStreamHandler(); setDefaultByteStreamHandler();
setDefaultClassByteStreamHandler(); setDefaultClassByteStreamHandler();
assignCacheJar(); // only start tracing now if we're in one process per server mode
if (SystemServiceManager.getInstance().getSystemService() == null){
assignCacheJar();
}
registerLocalClassLoader(this.getClass().getClassLoader()); registerLocalClassLoader(this.getClass().getClassLoader());
} }
@ -4468,6 +4472,7 @@ public final class DataStore
} }
} }
} }
assignCacheJar();
} }
} }