Release Note: RuntimeMXBean.getInputArguments() adds -XX prefix for args from settings file

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 27
    • Component/s: hotspot

      `RuntimeMXBean.getInputArguments()` now adds `-XX:` prefix for arguments passed via a settings file. `RuntimeMXBean.getInputArguments()` returns arguments passed on the command-line as well as any given via settings files (`-XX:Flags=`). Previously, arguments from a settings file were returned without the `-XX:` prefix, for example `+UseG1GC`. Now, these arguments are returned with the `-XX:` prefix, for example `-XX:+UseG1GC`.

            Assignee:
            Oli Gillespie
            Reporter:
            Oli Gillespie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: