mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8234076: JVM crashes on Windows 10 using --module=NAME
Reviewed-by: ksrini, henryjen
This commit is contained in:
parent
fa92bd31b9
commit
ce7ede95eb
6 changed files with 207 additions and 0 deletions
|
@ -130,6 +130,8 @@ static void checkArg(const char *arg) {
|
|||
}
|
||||
} else if (JLI_StrCmp(arg, "--disable-@files") == 0) {
|
||||
stopExpansion = JNI_TRUE;
|
||||
} else if (JLI_StrCCmp(arg, "--module=") == 0) {
|
||||
idx = argsCount;
|
||||
}
|
||||
} else {
|
||||
if (!expectingNoDashArg) {
|
||||
|
@ -449,6 +451,7 @@ int isTerminalOpt(char *arg) {
|
|||
return JLI_StrCmp(arg, "-jar") == 0 ||
|
||||
JLI_StrCmp(arg, "-m") == 0 ||
|
||||
JLI_StrCmp(arg, "--module") == 0 ||
|
||||
JLI_StrCCmp(arg, "--module=") == 0 ||
|
||||
JLI_StrCmp(arg, "--dry-run") == 0 ||
|
||||
JLI_StrCmp(arg, "-h") == 0 ||
|
||||
JLI_StrCmp(arg, "-?") == 0 ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue