hotspot/src/share/vm/services/writeableFlags.cpp
changeset 46630 75aa3e39d02c
parent 38942 a4b3fc1ba095
equal deleted inserted replaced
46629:8eeacdc76bf2 46630:75aa3e39d02c
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    83     case Flag::INVALID_FLAG:
    83     case Flag::INVALID_FLAG:
    84       buffer_concat(buffer, "there is no flag with the given name."); break;
    84       buffer_concat(buffer, "there is no flag with the given name."); break;
    85     case Flag::ERR_OTHER:
    85     case Flag::ERR_OTHER:
    86       buffer_concat(buffer, "other, unspecified error related to setting the flag."); break;
    86       buffer_concat(buffer, "other, unspecified error related to setting the flag."); break;
    87     case Flag::SUCCESS:
    87     case Flag::SUCCESS:
       
    88       break;
       
    89     default:
    88       break;
    90       break;
    89   }
    91   }
    90 
    92 
    91   err_msg.print("%s", buffer);
    93   err_msg.print("%s", buffer);
    92 }
    94 }