RFR: 8332287: When printing arguments in error logs, quote arguments with whitespaces [v2]
Thomas Stuefe
stuefe at openjdk.org
Fri May 17 14:17:29 UTC 2024
On Fri, 17 May 2024 13:37:07 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> OK, yes I can expect for the JVM arguments, it doesn't matter if the JVM sees -Dfoo="1 2 3 " or "-Dfoo=1 2 3 "
>
> I just thought that if we report the quotes in a different place to the original, that we should at least acknowledge that difference somewhere in the change/bug report. I was exactly noticing that this is an interpreted form of the arg.
But how would I know the original? The JVM does not know if you called `-Dvm.args="1 2 3"` or `"-Dvm.args=1 2 3"` . In fact, I usually do the latter.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19248#issuecomment-2117705122
More information about the hotspot-runtime-dev
mailing list