src/hotspot/share/logging/logSelectionList.cpp
changeset 49180 9637557def32
parent 49016 ea85eed8b012
child 49186 b8bfadfacded
equal deleted inserted replaced
49179:4b273ed9a82d 49180:9637557def32
    38       // Return immediately unless all invalid selections should be listed
    38       // Return immediately unless all invalid selections should be listed
    39       if (out == NULL) {
    39       if (out == NULL) {
    40         return false;
    40         return false;
    41       }
    41       }
    42 
    42 
    43       if (valid) {
    43       out->print("No tag set matches selection:");
    44         out->print("No tag set matches selection(s):");
       
    45       }
       
    46       valid = false;
    44       valid = false;
    47 
    45 
    48       char buf[256];
    46       char buf[256];
    49       _selections[i].describe_tags(buf, sizeof(buf));
    47       _selections[i].describe_tags(buf, sizeof(buf));
    50       out->print(" %s", buf);
    48       out->print(" %s. ", buf);
       
    49 
       
    50       _selections[i].suggest_similar_matching(out);
       
    51       out->cr();
    51     }
    52     }
    52   }
       
    53   if (!valid && out != NULL) {
       
    54     out->cr();
       
    55   }
    53   }
    56   return valid;
    54   return valid;
    57 }
    55 }
    58 
    56 
    59 
    57