RFR: 8378110: Add -XX: prefix to settings-file flags in RuntimeMXBean.getInputArguments()

Alan Bateman alanb at openjdk.org
Wed Feb 18 16:40:18 UTC 2026


On Wed, 18 Feb 2026 16:03:28 GMT, Oli Gillespie <ogillespie at openjdk.org> wrote:

>> test/jdk/java/lang/management/RuntimeMXBean/InputArgument.java line 70:
>> 
>>> 68:  * @summary RuntimeMXBean.getInputArguments() handling of flags from settings file.
>>> 69:  *
>>> 70:  * @author  Oli Gillespie
>> 
>> We try to avoid introducing new `@author` tags if possible. The git log and git blame is good enough for seeing who contributed code to a file.
>
> Thanks, I just added it for consistency with the others in this file. What's the preference, just remove that line?

I think the attribution dates when when the tests were developed for M&M API (back in JDK 5, before OpenJDK project). I think we should try to not add to new tests.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29793#discussion_r2823309706


More information about the serviceability-dev mailing list