< prev index next >

src/java.base/share/native/launcher/main.c

Print this page

        

*** 128,141 **** JLI_List args = JLI_List_new(argc + 1); int i = 0; // Add first arg, which is the app name JLI_List_add(args, JLI_StringDup(argv[0])); ! // Append JAVA_OPTIONS ! if (JLI_AddArgsFromEnvVar(args, JAVA_OPTIONS)) { // JLI_SetTraceLauncher is not called yet ! // Show _JAVA_OPTIONS content along with JAVA_OPTIONS to aid diagnosis if (getenv(JLDEBUG_ENV_ENTRY)) { char *tmp = getenv("_JAVA_OPTIONS"); if (NULL != tmp) { JLI_ReportMessage(ARG_INFO_ENVVAR, "_JAVA_OPTIONS", tmp); } --- 128,141 ---- JLI_List args = JLI_List_new(argc + 1); int i = 0; // Add first arg, which is the app name JLI_List_add(args, JLI_StringDup(argv[0])); ! // Append JDK_JAVA_OPTIONS ! if (JLI_AddArgsFromEnvVar(args, JDK_JAVA_OPTIONS)) { // JLI_SetTraceLauncher is not called yet ! // Show _JAVA_OPTIONS content along with JDK_JAVA_OPTIONS to aid diagnosis if (getenv(JLDEBUG_ENV_ENTRY)) { char *tmp = getenv("_JAVA_OPTIONS"); if (NULL != tmp) { JLI_ReportMessage(ARG_INFO_ENVVAR, "_JAVA_OPTIONS", tmp); }
< prev index next >