RFR: 8274168: Avoid String.compareTo == 0 to check String equality in java.management

Chris Plummer cjplummer at openjdk.java.net
Thu Sep 23 14:32:54 UTC 2021


On Thu, 23 Sep 2021 13:39:20 GMT, David Holmes <david.holmes at oracle.com> wrote:

> I'm not sure if Chris was suggesting to make a change or just saying
> that my argument "works for him" :) I certainly wasn't suggesting a need
> to change the code form.

Either no change or David's change works for me.

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

PR: https://git.openjdk.java.net/jdk/pull/5640


More information about the serviceability-dev mailing list