Re: RFR: 8299340: CreateProcessW lpCommandLine must be mutable [v2]

2023-05-12 Thread Naoto Sato
On Fri, 12 May 2023 19:38:53 GMT, Roger Riggs wrote: >> Launching of processes on Windows using `ProcessCreateW` with a Unicode >> character set requires the buffer to be writable. An access violation might >> occur if `ProcessCreateW` writes to the command line string. The current >> implemen

Re: RFR: 8299340: CreateProcessW lpCommandLine must be mutable [v2]

2023-05-12 Thread Roger Riggs
> Launching of processes on Windows using `ProcessCreateW` with a Unicode > character set requires the buffer to be writable. An access violation might > occur if `ProcessCreateW` writes to the command line string. The current > implementation fetches the command line string using JNI GetStringC

Re: RFR: 8299340: CreateProcessW lpCommandLine must be mutable

2023-05-12 Thread Roger Riggs
On Fri, 12 May 2023 17:56:08 GMT, Naoto Sato wrote: >> Launching of processes on Windows using `ProcessCreateW` with a Unicode >> character set requires the buffer to be writable. An access violation might >> occur if `ProcessCreateW` writes to the command line string. The current >> implement

Re: RFR: 8299340: CreateProcessW lpCommandLine must be mutable

2023-05-12 Thread Naoto Sato
On Tue, 9 May 2023 21:46:51 GMT, Roger Riggs wrote: > Launching of processes on Windows using `ProcessCreateW` with a Unicode > character set requires the buffer to be writable. An access violation might > occur if `ProcessCreateW` writes to the command line string. The current > implementatio

RFR: 8299340: CreateProcessW lpCommandLine must be mutable

2023-05-12 Thread Roger Riggs
Launching of processes on Windows using `ProcessCreateW` with a Unicode character set requires the buffer to be writable. An access violation might occur if `ProcessCreateW` writes to the command line string. The current implementation fetches the command line string using JNI GetStringChars re