diff -r 4b273ed9a82d -r 9637557def32 src/hotspot/share/logging/logSelectionList.cpp --- a/src/hotspot/share/logging/logSelectionList.cpp Tue Feb 27 21:29:19 2018 -0800 +++ b/src/hotspot/share/logging/logSelectionList.cpp Wed Feb 28 09:30:06 2018 +0100 @@ -40,19 +40,17 @@ return false; } - if (valid) { - out->print("No tag set matches selection(s):"); - } + out->print("No tag set matches selection:"); valid = false; char buf[256]; _selections[i].describe_tags(buf, sizeof(buf)); - out->print(" %s", buf); + out->print(" %s. ", buf); + + _selections[i].suggest_similar_matching(out); + out->cr(); } } - if (!valid && out != NULL) { - out->cr(); - } return valid; }