# HG changeset patch # User mbaesken # Date 1518777193 -3600 # Node ID 2951c449e7bf5dc152ce0cda3b06350f5f76ed48 # Parent 9a8fddef7ad07041e34712718659798973c1aded 8198275: AIX build broken after latest whitebox.cpp changes Reviewed-by: mdoerr diff -r 9a8fddef7ad0 -r 2951c449e7bf src/hotspot/share/prims/whitebox.cpp --- a/src/hotspot/share/prims/whitebox.cpp Fri Feb 16 10:10:14 2018 +0530 +++ b/src/hotspot/share/prims/whitebox.cpp Fri Feb 16 11:33:13 2018 +0100 @@ -1914,7 +1914,7 @@ // Elf decoder WB_ENTRY(void, WB_DisableElfSectionCache(JNIEnv* env)) -#if !defined(_WINDOWS) && !defined(__APPLE__) +#if !defined(_WINDOWS) && !defined(__APPLE__) && !defined(_AIX) ElfFile::_do_not_cache_elf_section = true; #endif WB_END diff -r 9a8fddef7ad0 -r 2951c449e7bf src/hotspot/share/utilities/elfFile.hpp --- a/src/hotspot/share/utilities/elfFile.hpp Fri Feb 16 10:10:14 2018 +0530 +++ b/src/hotspot/share/utilities/elfFile.hpp Fri Feb 16 11:33:13 2018 +0100 @@ -25,7 +25,7 @@ #ifndef SHARE_VM_UTILITIES_ELF_FILE_HPP #define SHARE_VM_UTILITIES_ELF_FILE_HPP -#if !defined(_WINDOWS) && !defined(__APPLE__) +#if !defined(_WINDOWS) && !defined(__APPLE__) && !defined(_AIX) #if defined(__OpenBSD__) #include