equal
deleted
inserted
replaced
242 int i; |
242 int i; |
243 printf("Command line args:\n"); |
243 printf("Command line args:\n"); |
244 for (i = 0; i < argc ; i++) { |
244 for (i = 0; i < argc ; i++) { |
245 printf("argv[%d] = %s\n", i, argv[i]); |
245 printf("argv[%d] = %s\n", i, argv[i]); |
246 } |
246 } |
|
247 AddOption("-Dsun.java.launcher.diag=true", NULL); |
247 } |
248 } |
248 |
249 |
249 CreateExecutionEnvironment(&argc, &argv, |
250 CreateExecutionEnvironment(&argc, &argv, |
250 jrepath, sizeof(jrepath), |
251 jrepath, sizeof(jrepath), |
251 jvmpath, sizeof(jvmpath)); |
252 jvmpath, sizeof(jvmpath)); |
1007 * In the latter case, any SUBOPT value not recognized will default to "all" |
1008 * In the latter case, any SUBOPT value not recognized will default to "all" |
1008 */ |
1009 */ |
1009 } else if (JLI_StrCmp(arg, "-XshowSettings") == 0 || |
1010 } else if (JLI_StrCmp(arg, "-XshowSettings") == 0 || |
1010 JLI_StrCCmp(arg, "-XshowSettings:") == 0) { |
1011 JLI_StrCCmp(arg, "-XshowSettings:") == 0) { |
1011 showSettings = arg; |
1012 showSettings = arg; |
|
1013 } else if (JLI_StrCmp(arg, "-Xdiag") == 0) { |
|
1014 AddOption("-Dsun.java.launcher.diag=true", NULL); |
1012 /* |
1015 /* |
1013 * The following case provide backward compatibility with old-style |
1016 * The following case provide backward compatibility with old-style |
1014 * command line options. |
1017 * command line options. |
1015 */ |
1018 */ |
1016 } else if (JLI_StrCmp(arg, "-fullversion") == 0) { |
1019 } else if (JLI_StrCmp(arg, "-fullversion") == 0) { |