On Tue, 4 Feb 2025 20:12:44 GMT, Alex Menkov <amen...@openjdk.org> wrote:

> > I didn't really understand what makes this streaming. The old protocol 
> > first sent out the result, and then the data, has this changed?
> 
> The protocol works as before. All command handlers are updated to set the 
> result code earlier (after argument parsing, but before command execution). 
> After the result code is set, it's sent to the tool and the rest of output 
> (data) are send directly to the tool without buffering.

Aha, I understand. Before, result code meant "Parsing OK, Command Execution 
OK", now it means "Parsing OK, starting Command Execution". That's fine by me.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23405#issuecomment-2648889826

Reply via email to