--- a/src/hotspot/share/memory/universe.cpp Mon Apr 23 09:01:03 2018 -0700
+++ b/src/hotspot/share/memory/universe.cpp Mon Apr 23 10:59:39 2018 -0500
@@ -63,7 +63,8 @@
#include "prims/resolvedMethodTable.hpp"
#include "runtime/arguments.hpp"
#include "runtime/atomic.hpp"
-#include "runtime/commandLineFlagConstraintList.hpp"
+#include "runtime/flags/flagSetting.hpp"
+#include "runtime/flags/jvmFlagConstraintList.hpp"
#include "runtime/deoptimization.hpp"
#include "runtime/handles.inline.hpp"
#include "runtime/init.hpp"
@@ -701,7 +702,7 @@
AOTLoader::universe_init();
// Checks 'AfterMemoryInit' constraints.
- if (!CommandLineFlagConstraintList::check_constraints(CommandLineFlagConstraint::AfterMemoryInit)) {
+ if (!JVMFlagConstraintList::check_constraints(JVMFlagConstraint::AfterMemoryInit)) {
return JNI_EINVAL;
}