On Mon, 4 Oct 2021 12:07:02 GMT, Andrey Turbanov <github.com+741251+turban...@openjdk.org> wrote:
>> Yasumasa Suenaga has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Remove toString() calls > > src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/VMVersionMismatchException.java > line 37: > >> 35: >> 36: public String getMessage() { >> 37: return "Supported versions are " + supportedVersions.toString() + > > Why do you call to `toString()` explicitly here? String concatenation will do > it for you without it. I'm not particular about `toString()` call, so I removed them. ------------- PR: https://git.openjdk.java.net/jdk/pull/5797