--- old/src/share/vm/runtime/vmStructs.hpp 2017-08-22 11:45:02.354042173 +0200 +++ new/src/share/vm/runtime/vmStructs.hpp 2017-08-22 11:45:02.262038956 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 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 @@ -26,6 +26,7 @@ #define SHARE_VM_RUNTIME_VMSTRUCTS_HPP #include "utilities/debug.hpp" +#include "utilities/globalDefinitions.hpp" #ifdef COMPILER1 #include "c1/c1_Runtime1.hpp" #endif --- old/test/native/runtime/test_vmStructs.cpp 2017-08-22 11:45:02.718054901 +0200 +++ new/test/native/runtime/test_vmStructs.cpp 2017-08-22 11:45:02.626051684 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 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 @@ -22,11 +22,12 @@ */ #include "precompiled.hpp" -#include "runtime/vmStructs.hpp" #include "utilities/macros.hpp" #include "unittest.hpp" #if INCLUDE_VM_STRUCTS +#include "runtime/vmStructs.hpp" + TEST(VMStructs, last_entries) { // Make sure last entry in the each array is indeed the correct end marker. // The reason why these are static is to make sure they are zero initialized.