mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8043541: 'fastdebug' is printed twice in java -version
Reviewed-by: dholmes, dcubed, jcoomes
This commit is contained in:
parent
33a0064f97
commit
b531babf09
7 changed files with 15 additions and 17 deletions
|
@ -72,14 +72,16 @@ int Abstract_VM_Version::_reserve_for_allocation_prefetch = 0;
|
|||
#ifndef JRE_RELEASE_VERSION
|
||||
#error JRE_RELEASE_VERSION must be defined
|
||||
#endif
|
||||
#ifndef HOTSPOT_BUILD_TARGET
|
||||
#error HOTSPOT_BUILD_TARGET must be defined
|
||||
#endif
|
||||
|
||||
#ifdef PRODUCT
|
||||
#define VM_RELEASE HOTSPOT_RELEASE_VERSION
|
||||
#else
|
||||
// NOTE: Builds within Visual Studio do not define the build target in
|
||||
// HOTSPOT_RELEASE_VERSION, so it must be done here
|
||||
#if defined(VISUAL_STUDIO_BUILD) && !defined(PRODUCT)
|
||||
#ifndef HOTSPOT_BUILD_TARGET
|
||||
#error HOTSPOT_BUILD_TARGET must be defined
|
||||
#endif
|
||||
#define VM_RELEASE HOTSPOT_RELEASE_VERSION "-" HOTSPOT_BUILD_TARGET
|
||||
#else
|
||||
#define VM_RELEASE HOTSPOT_RELEASE_VERSION
|
||||
#endif
|
||||
|
||||
// HOTSPOT_RELEASE_VERSION follows the JDK release version naming convention
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue