hotspot/src/share/vm/services/diagnosticCommand.cpp
changeset 31371 311143309e73
parent 31032 8e72621ca186
child 31790 4a08476437e8
child 33962 a96fba52fc81
--- a/hotspot/src/share/vm/services/diagnosticCommand.cpp	Wed Jun 17 21:44:48 2015 +0000
+++ b/hotspot/src/share/vm/services/diagnosticCommand.cpp	Thu Jun 18 14:39:38 2015 -0500
@@ -27,6 +27,7 @@
 #include "classfile/compactHashtable.hpp"
 #include "gc/shared/vmGCOperations.hpp"
 #include "oops/oop.inline.hpp"
+#include "runtime/globals.hpp"
 #include "runtime/javaCalls.hpp"
 #include "runtime/os.hpp"
 #include "services/diagnosticArgument.hpp"
@@ -221,7 +222,7 @@
   FormatBuffer<80> err_msg("%s", "");
   int ret = WriteableFlags::set_flag(_flag.value(), val, Flag::MANAGEMENT, err_msg);
 
-  if (ret != WriteableFlags::SUCCESS) {
+  if (ret != Flag::SUCCESS) {
     output()->print_cr("%s", err_msg.buffer());
   }
 }