jdk/src/java.base/share/native/launcher/defines.h
changeset 36511 9d0388c6b336
parent 34000 a5c49d5a7d7f
child 37540 e92d95400f31
equal deleted inserted replaced
36510:043f1af70518 36511:9d0388c6b336
    51  * ApplicationHome is prepended to each of these entries; the resulting
    51  * ApplicationHome is prepended to each of these entries; the resulting
    52  * strings are concatenated (separated by PATH_SEPARATOR) and used as the
    52  * strings are concatenated (separated by PATH_SEPARATOR) and used as the
    53  * value of -cp option to the launcher.
    53  * value of -cp option to the launcher.
    54  */
    54  */
    55 #ifndef APP_CLASSPATH
    55 #ifndef APP_CLASSPATH
    56 #define APP_CLASSPATH        { "/lib/tools.jar", "/classes" }
    56 static const char* const_appclasspath[] = { NULL };
       
    57 #else
       
    58 static const char* const_appclasspath[] = APP_CLASSPATH;
    57 #endif /* APP_CLASSPATH */
    59 #endif /* APP_CLASSPATH */
    58 static const char* const_appclasspath[] = APP_CLASSPATH;
       
    59 #else  /* !JAVA_ARGS */
    60 #else  /* !JAVA_ARGS */
    60 #define HAS_JAVA_ARGS JNI_FALSE
    61 #define HAS_JAVA_ARGS JNI_FALSE
    61 #ifdef PROGNAME
    62 #ifdef PROGNAME
    62 static const char* const_progname = PROGNAME;
    63 static const char* const_progname = PROGNAME;
    63 #else
    64 #else
    64 static char* const_progname = NULL;
    65 static char* const_progname = NULL;
    65 #endif
    66 #endif
    66 static const char** const_jargs = NULL;
    67 static const char** const_jargs = NULL;
    67 static const char** const_appclasspath = NULL;
    68 static const char* const_appclasspath[] = { NULL };
    68 #endif /* JAVA_ARGS */
    69 #endif /* JAVA_ARGS */
    69 
    70 
    70 #ifdef LAUNCHER_NAME
    71 #ifdef LAUNCHER_NAME
    71 static const char* const_launcher = LAUNCHER_NAME;
    72 static const char* const_launcher = LAUNCHER_NAME;
    72 #else  /* LAUNCHER_NAME */
    73 #else  /* LAUNCHER_NAME */