--- old/src/share/vm/services/writeableFlags.cpp 2017-07-03 08:29:21.000000000 -0700 +++ new/src/share/vm/services/writeableFlags.cpp 2017-07-03 08:29:20.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -86,6 +86,8 @@ buffer_concat(buffer, "other, unspecified error related to setting the flag."); break; case Flag::SUCCESS: break; + default: + break; } err_msg.print("%s", buffer);