< prev index next >

src/java.base/share/native/libjli/java.h

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 84,94 **** CreateJavaVM_t CreateJavaVM; GetDefaultJavaVMInitArgs_t GetDefaultJavaVMInitArgs; GetCreatedJavaVMs_t GetCreatedJavaVMs; } InvocationFunctions; ! int JLI_Launch(int argc, char ** argv, /* main argc, argc */ int jargc, const char** jargv, /* java args */ int appclassc, const char** appclassv, /* app classpath */ const char* fullversion, /* full version defined */ const char* dotversion, /* dot version defined */ --- 84,94 ---- CreateJavaVM_t CreateJavaVM; GetDefaultJavaVMInitArgs_t GetDefaultJavaVMInitArgs; GetCreatedJavaVMs_t GetCreatedJavaVMs; } InvocationFunctions; ! JNIEXPORT int JNICALL JLI_Launch(int argc, char ** argv, /* main argc, argc */ int jargc, const char** jargv, /* java args */ int appclassc, const char** appclassv, /* app classpath */ const char* fullversion, /* full version defined */ const char* dotversion, /* dot version defined */
*** 131,156 **** char *jrepath, jint so_jrepath, char *jvmpath, jint so_jvmpath, char *jvmcfg, jint so_jvmcfg); /* Reports an error message to stderr or a window as appropriate. */ ! void JLI_ReportErrorMessage(const char * message, ...); /* Reports a system error message to stderr or a window */ ! void JLI_ReportErrorMessageSys(const char * message, ...); /* Reports an error message only to stderr. */ ! void JLI_ReportMessage(const char * message, ...); /* Reports a message only to stdout. */ void JLI_ShowMessage(const char * message, ...); /* * Reports an exception which terminates the vm to stderr or a window * as appropriate. */ ! void JLI_ReportExceptionDescription(JNIEnv * env); void PrintMachineDependentOptions(); /* * Block current thread and continue execution in new thread */ --- 131,160 ---- char *jrepath, jint so_jrepath, char *jvmpath, jint so_jvmpath, char *jvmcfg, jint so_jvmcfg); /* Reports an error message to stderr or a window as appropriate. */ ! JNIEXPORT void JNICALL ! JLI_ReportErrorMessage(const char * message, ...); /* Reports a system error message to stderr or a window */ ! JNIEXPORT void JNICALL ! JLI_ReportErrorMessageSys(const char * message, ...); /* Reports an error message only to stderr. */ ! JNIEXPORT void JNICALL ! JLI_ReportMessage(const char * message, ...); /* Reports a message only to stdout. */ void JLI_ShowMessage(const char * message, ...); /* * Reports an exception which terminates the vm to stderr or a window * as appropriate. */ ! JNIEXPORT void JNICALL ! JLI_ReportExceptionDescription(JNIEnv * env); void PrintMachineDependentOptions(); /* * Block current thread and continue execution in new thread */
< prev index next >