On Fri, 27 Feb 2026 14:21:33 GMT, Oli Gillespie <[email protected]> wrote:
>> test/jdk/java/lang/management/RuntimeMXBean/InputArgument.java line 86:
>>
>>> 84:
>>> 85: public static void main(String args[]) throws Exception {
>>> 86: if (args.length > 0 && "generateFlagsFile".equals(args[0])) {
>>
>> If it was "if args.length == 1 && ..." I would have understood it more
>> quickly,
>> generateFlagsFile must be the only argument.
>
> Thanks, updated.
Thanks, looks like it is now > 1 but should be == 1 ?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29793#discussion_r2864611412