144 JNIEXPORT void JNICALL
145 JLI_ReportMessage(const char * message, ...);
146
147 /* Reports a message only to stdout. */
148 void JLI_ShowMessage(const char * message, ...);
149
150 /*
151 * Reports an exception which terminates the vm to stderr or a window
152 * as appropriate.
153 */
154 JNIEXPORT void JNICALL
155 JLI_ReportExceptionDescription(JNIEnv * env);
156 void PrintMachineDependentOptions();
157
158 /*
159 * Block current thread and continue execution in new thread.
160 */
161 int CallJavaMainInNewThread(jlong stack_size, void* args);
162
163 /* sun.java.launcher.* platform properties. */
164 void SetJavaLauncherPlatformProps(void);
165 void SetJavaCommandLineProp(char* what, int argc, char** argv);
166 void SetJavaLauncherProp(void);
167
168 /*
169 * Functions defined in java.c and used in java_md.c.
170 */
171 jint ReadKnownVMs(const char *jvmcfg, jboolean speculative);
172 char *CheckJvmType(int *argc, char ***argv, jboolean speculative);
173 void AddOption(char *str, void *info);
174 jboolean IsWhiteSpaceOption(const char* name);
175
176 // Utility function defined in args.c
177 int isTerminalOpt(char *arg);
178
179 const char* GetProgramName();
180 const char* GetFullVersion();
181 jboolean IsJavaArgs();
182 jboolean IsJavaw();
183
184 int ContinueInNewThread(InvocationFunctions* ifn, jlong threadStackSize,
|
144 JNIEXPORT void JNICALL
145 JLI_ReportMessage(const char * message, ...);
146
147 /* Reports a message only to stdout. */
148 void JLI_ShowMessage(const char * message, ...);
149
150 /*
151 * Reports an exception which terminates the vm to stderr or a window
152 * as appropriate.
153 */
154 JNIEXPORT void JNICALL
155 JLI_ReportExceptionDescription(JNIEnv * env);
156 void PrintMachineDependentOptions();
157
158 /*
159 * Block current thread and continue execution in new thread.
160 */
161 int CallJavaMainInNewThread(jlong stack_size, void* args);
162
163 /* sun.java.launcher.* platform properties. */
164 void SetJavaCommandLineProp(char* what, int argc, char** argv);
165 void SetJavaLauncherProp(void);
166
167 /*
168 * Functions defined in java.c and used in java_md.c.
169 */
170 jint ReadKnownVMs(const char *jvmcfg, jboolean speculative);
171 char *CheckJvmType(int *argc, char ***argv, jboolean speculative);
172 void AddOption(char *str, void *info);
173 jboolean IsWhiteSpaceOption(const char* name);
174
175 // Utility function defined in args.c
176 int isTerminalOpt(char *arg);
177
178 const char* GetProgramName();
179 const char* GetFullVersion();
180 jboolean IsJavaArgs();
181 jboolean IsJavaw();
182
183 int ContinueInNewThread(InvocationFunctions* ifn, jlong threadStackSize,
|