JDK-8226967 : Minimal VM: FALSE was not declared in this scope
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 14
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-06-29
  • Updated: 2019-07-03
  • Resolved: 2019-07-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 14
14 b04Fixed
Related Reports
Relates :  
Description
minimal build broken. Error output:

$ make hotspot CONF=linux-x86_64-minimal-re
Building target 'hotspot' in configuration 'linux-x86_64-minimal-release'
In file included from /home/aoqi/jdk/src/hotspot/share/utilities/compilerWarnings.hpp:30:0,
                 from /home/aoqi/jdk/src/hotspot/share/utilities/globalDefinitions.hpp:28,
                 from /home/aoqi/jdk/src/hotspot/share/utilities/align.hpp:28,
                 from /home/aoqi/jdk/src/hotspot/share/runtime/globals_shared.hpp:28,
                 from /home/aoqi/jdk/src/hotspot/share/compiler/compiler_globals.hpp:28,
                 from /home/aoqi/jdk/src/hotspot/share/runtime/globals.hpp:28,
                 from /home/aoqi/jdk/src/hotspot/share/memory/allocation.hpp:28,
                 from /home/aoqi/jdk/src/hotspot/share/classfile/classLoaderData.hpp:28,
                 from /home/aoqi/jdk/src/hotspot/share/precompiled/precompiled.hpp:34:
/home/aoqi/jdk/src/hotspot/share/memory/filemap.hpp: In member function 'bool FileMapInfo::fail(const char*, const char*)':
/home/aoqi/jdk/src/hotspot/share/memory/filemap.hpp:383:65: error: 'FALSE' was not declared in this scope
   bool  fail(const char* msg, const char* name) NOT_CDS_RETURN_(FALSE);
                                                                 ^
/home/aoqi/jdk/src/hotspot/share/utilities/macros.hpp:119:40: note: in definition of macro 'NOT_CDS_RETURN_'
 #define NOT_CDS_RETURN_(code) { return code; }
                                        ^
/home/aoqi/jdk/src/hotspot/share/memory/filemap.hpp: In member function 'bool FileMapInfo::check_paths(int, int, GrowableArray<char*>*)':
/home/aoqi/jdk/src/hotspot/share/memory/filemap.hpp:386:69: error: 'FALSE' was not declared in this scope
                     GrowableArray<char*>* rp_array) NOT_CDS_RETURN_(FALSE);
                                                                     ^
/home/aoqi/jdk/src/hotspot/share/utilities/macros.hpp:119:40: note: in definition of macro 'NOT_CDS_RETURN_'
 #define NOT_CDS_RETURN_(code) { return code; }
                                        ^
/home/aoqi/jdk/src/hotspot/share/memory/filemap.hpp: In member function 'bool FileMapInfo::validate_boot_class_paths()':
/home/aoqi/jdk/src/hotspot/share/memory/filemap.hpp:387:53: error: 'FALSE' was not declared in this scope
   bool  validate_boot_class_paths() NOT_CDS_RETURN_(FALSE);
                                                     ^
/home/aoqi/jdk/src/hotspot/share/utilities/macros.hpp:119:40: note: in definition of macro 'NOT_CDS_RETURN_'
 #define NOT_CDS_RETURN_(code) { return code; }
                                        ^
/home/aoqi/jdk/src/hotspot/share/memory/filemap.hpp: In member function 'bool FileMapInfo::validate_app_class_paths(int)':
/home/aoqi/jdk/src/hotspot/share/memory/filemap.hpp:388:76: error: 'FALSE' was not declared in this scope
   bool  validate_app_class_paths(int shared_app_paths_len) NOT_CDS_RETURN_(FALSE);
                                                                            ^
/home/aoqi/jdk/src/hotspot/share/utilities/macros.hpp:119:40: note: in definition of macro 'NOT_CDS_RETURN_'
 #define NOT_CDS_RETURN_(code) { return code; }
...
Comments
RFR: https://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2019-June/035083.html
29-06-2019