177
178 jboolean ServerClassMachine();
179
180 int ContinueInNewThread(InvocationFunctions* ifn, jlong threadStackSize,
181 int argc, char** argv,
182 int mode, char *what, int ret);
183
184 int JVMInit(InvocationFunctions* ifn, jlong threadStackSize,
185 int argc, char** argv,
186 int mode, char *what, int ret);
187
188 /*
189 * Initialize platform specific settings
190 */
191 void InitLauncher(jboolean javaw);
192
193 /*
194 * For MacOSX and Windows/Unix compatibility we require these
195 * entry points, some of them may be stubbed out on Windows/Unixes.
196 */
197 void PostJVMInit(JNIEnv *env, jstring mainClass, JavaVM *vm);
198 void ShowSplashScreen();
199 void RegisterThread();
200 /*
201 * this method performs additional platform specific processing and
202 * should return JNI_TRUE to indicate the argument has been consumed,
203 * otherwise returns JNI_FALSE to allow the calling logic to further
204 * process the option.
205 */
206 jboolean ProcessPlatformOption(const char *arg);
207
208 /*
209 * This allows for finding classes from the VM's bootstrap class loader directly,
210 * FindClass uses the application class loader internally, this will cause
211 * unnecessary searching of the classpath for the required classes.
212 *
213 */
214 typedef jclass (JNICALL FindClassFromBootLoader_t(JNIEnv *env,
215 const char *name));
216 jclass FindBootStrapClass(JNIEnv *env, const char *classname);
217
|
177
178 jboolean ServerClassMachine();
179
180 int ContinueInNewThread(InvocationFunctions* ifn, jlong threadStackSize,
181 int argc, char** argv,
182 int mode, char *what, int ret);
183
184 int JVMInit(InvocationFunctions* ifn, jlong threadStackSize,
185 int argc, char** argv,
186 int mode, char *what, int ret);
187
188 /*
189 * Initialize platform specific settings
190 */
191 void InitLauncher(jboolean javaw);
192
193 /*
194 * For MacOSX and Windows/Unix compatibility we require these
195 * entry points, some of them may be stubbed out on Windows/Unixes.
196 */
197 void PostJVMInit(JNIEnv *env, jclass mainClass, JavaVM *vm);
198 void ShowSplashScreen();
199 void RegisterThread();
200 /*
201 * this method performs additional platform specific processing and
202 * should return JNI_TRUE to indicate the argument has been consumed,
203 * otherwise returns JNI_FALSE to allow the calling logic to further
204 * process the option.
205 */
206 jboolean ProcessPlatformOption(const char *arg);
207
208 /*
209 * This allows for finding classes from the VM's bootstrap class loader directly,
210 * FindClass uses the application class loader internally, this will cause
211 * unnecessary searching of the classpath for the required classes.
212 *
213 */
214 typedef jclass (JNICALL FindClassFromBootLoader_t(JNIEnv *env,
215 const char *name));
216 jclass FindBootStrapClass(JNIEnv *env, const char *classname);
217
|