On Mon, 16 Feb 2026 08:02:09 GMT, Erik Gahlin <[email protected]> wrote:

> For more information. see:
> 
> https://bugs.openjdk.org/browse/JDK-8372760
> 
> Testing: tier1 + test/jdk/jdk/jfr + manual testing
> 
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

src/hotspot/share/jfr/periodic/jfrRedactedEvents.cpp line 538:

> 536:   const char* end = p + strlen(p);
> 537:   while (p < end) {
> 538:     while (p < end && is_separator(*p)) {

`make_java_args_array` uses `is_separator`, which always recognizes spaces as 
delimiters. 
Is it possible to have arguments with intentional spaces like "/some/path/with 
spaces/example"? 
If so, would that negatively affect filters that try to match a sequence of 
arguments like 'redact-argument=--password * *'  ?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29736#discussion_r3221580301

Reply via email to