src/java.base/share/native/libjli/java.h
branchihse-remove-mapfiles-branch
changeset 56106 40e61db323c2
parent 47216 71c04702a3d5
child 56115 fb63c41a240c
equal deleted inserted replaced
56105:749e0ffa206f 56106:40e61db323c2
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    84     CreateJavaVM_t CreateJavaVM;
    84     CreateJavaVM_t CreateJavaVM;
    85     GetDefaultJavaVMInitArgs_t GetDefaultJavaVMInitArgs;
    85     GetDefaultJavaVMInitArgs_t GetDefaultJavaVMInitArgs;
    86     GetCreatedJavaVMs_t GetCreatedJavaVMs;
    86     GetCreatedJavaVMs_t GetCreatedJavaVMs;
    87 } InvocationFunctions;
    87 } InvocationFunctions;
    88 
    88 
    89 int
    89 JNIEXPORT int
    90 JLI_Launch(int argc, char ** argv,              /* main argc, argc */
    90 JLI_Launch(int argc, char ** argv,              /* main argc, argc */
    91         int jargc, const char** jargv,          /* java args */
    91         int jargc, const char** jargv,          /* java args */
    92         int appclassc, const char** appclassv,  /* app classpath */
    92         int appclassc, const char** appclassv,  /* app classpath */
    93         const char* fullversion,                /* full version defined */
    93         const char* fullversion,                /* full version defined */
    94         const char* dotversion,                 /* dot version defined */
    94         const char* dotversion,                 /* dot version defined */
   134 
   134 
   135 /* Reports an error message to stderr or a window as appropriate. */
   135 /* Reports an error message to stderr or a window as appropriate. */
   136 void JLI_ReportErrorMessage(const char * message, ...);
   136 void JLI_ReportErrorMessage(const char * message, ...);
   137 
   137 
   138 /* Reports a system error message to stderr or a window */
   138 /* Reports a system error message to stderr or a window */
   139 void JLI_ReportErrorMessageSys(const char * message, ...);
   139 JNIEXPORT void JLI_ReportErrorMessageSys(const char * message, ...);
   140 
   140 
   141 /* Reports an error message only to stderr. */
   141 /* Reports an error message only to stderr. */
   142 void JLI_ReportMessage(const char * message, ...);
   142 JNIEXPORT void JLI_ReportMessage(const char * message, ...);
   143 
   143 
   144 /* Reports a message only to stdout. */
   144 /* Reports a message only to stdout. */
   145 void JLI_ShowMessage(const char * message, ...);
   145 void JLI_ShowMessage(const char * message, ...);
   146 
   146 
   147 /*
   147 /*
   148  * Reports an exception which terminates the vm to stderr or a window
   148  * Reports an exception which terminates the vm to stderr or a window
   149  * as appropriate.
   149  * as appropriate.
   150  */
   150  */
   151 void JLI_ReportExceptionDescription(JNIEnv * env);
   151 JNIEXPORT void JLI_ReportExceptionDescription(JNIEnv * env);
   152 void PrintMachineDependentOptions();
   152 void PrintMachineDependentOptions();
   153 
   153 
   154 /*
   154 /*
   155  * Block current thread and continue execution in new thread
   155  * Block current thread and continue execution in new thread
   156  */
   156  */