javaruntimes/midp/runtimestarter/src/midpruntimestarter.cpp
changeset 35 85266cc22c7f
parent 26 dc7c549001d5
child 50 023eef975703
--- a/javaruntimes/midp/runtimestarter/src/midpruntimestarter.cpp	Thu May 27 12:49:31 2010 +0300
+++ b/javaruntimes/midp/runtimestarter/src/midpruntimestarter.cpp	Fri Jun 11 13:33:44 2010 +0300
@@ -165,6 +165,14 @@
 
         // Starting with lower old space in pre warm case.
         jvm->overrideOldHeapSize(36);
+
+        // In the pre-warm start we need to add something into class path.
+        // Otherwise the VM puts class path to point MIDP private data cage.
+#ifdef RD_JAVA_SYMBIAN_TARGET
+        jvm->appendClassPath(L"z:/private/ignore.jar");
+#else // RD_JAVA_SYMBIAN_TARGET
+        jvm->appendClassPath(L"./ignore.jar");
+#endif // RD_JAVA_SYMBIAN_TARGET
     }
 
     // If the requested to go to back ground, pass the info to Java peer.