mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-02 04:00:16 +00:00
8173758: tools/javac/Paths/wcMineField.sh failing with java.lang.ClassNotFoundException
Reviewed-by: ksrini
This commit is contained in:
parent
6792c8bb23
commit
e650ed51fb
@ -1587,7 +1587,7 @@ static char* expandWildcardOnLongOpt(char* arg) {
|
||||
p = JLI_MemAlloc(optLen + valueLen + 1);
|
||||
memcpy(p, arg, optLen);
|
||||
memcpy(p + optLen, value, valueLen);
|
||||
p[optLen + valueLen + 1] = '\0';
|
||||
p[optLen + valueLen] = '\0';
|
||||
return p;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user