Changeset 95


Ignore:
Timestamp:
Aug 9, 2010, 4:40:34 PM (15 years ago)
Author:
dmik
Message:

hotspot: Fixed version information in jvm.dll.

Location:
trunk/openjdk/hotspot
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/openjdk/hotspot/make/os2/build.make

    r40 r95  
    8484endif
    8585
     86#########################################################################
     87# Parameters for VERSIONINFO resource for jvm[_g].dll.
     88# These can be overridden via the nmake.exe command line.
     89# They are overridden by RE during the control builds.
     90#
     91
     92include $(WorkSpace)/make/hotspot_version
     93
     94# Define HOTSPOT_VM_DISTRO based on settings in make/openjdk_distro.
     95ifndef HOTSPOT_VM_DISTRO
     96include $(WorkSpace)/make/openjdk_distro
     97endif
     98
     99# Following the Web Start / Plugin model here....
     100# We can have update versions like "01a", but Windows requires
     101# we use only integers in the file version field.  So:
     102# JDK_UPDATE_VER = JDK_UPDATE_VERSION * 10 + EXCEPTION_VERSION
     103#
     104JDK_UPDATE_VER=0
     105JDK_BUILD_NUMBER=0
     106
     107HS_FILEDESC=$(HOTSPOT_VM_DISTRO) $(ARCH_TEXT) $(VARIANT_TEXT) VM
     108
     109# JDK ProductVersion:
     110# 1.5.0_<wx>-b<yz> will have DLL version 5.0.wx*10.yz
     111# Thus, 1.5.0_10-b04  will be 5.0.100.4
     112#       1.6.0-b01     will be 6.0.0.1
     113#       1.6.0_01a-b02 will be 6.0.11.2
     114#
     115# JDK_* variables are defined in make/hotspot_version or on command line
     116#
     117JDK_VER=$(JDK_MINOR_VER),$(JDK_MICRO_VER),$(JDK_UPDATE_VER),$(JDK_BUILD_NUMBER)
     118JDK_DOTVER=$(JDK_MINOR_VER).$(JDK_MICRO_VER).$(JDK_UPDATE_VER).$(JDK_BUILD_NUMBER)
     119ifeq ($(JRE_RELEASE_VERSION),)
     120JRE_RELEASE_VER=$(JDK_MAJOR_VER).$(JDK_MINOR_VER).$(JDK_MICRO_VER)
     121else
     122JRE_RELEASE_VER=$(JRE_RELEASE_VERSION)
     123endif
     124ifeq ($(JDK_MKTG_VERSION),)
     125JDK_MKTG_VERSION=$(JDK_MINOR_VER).$(JDK_MICRO_VER)
     126endif
     127
     128# Hotspot Express VM FileVersion:
     129# 10.0-b<yz> will have DLL version 10.0.0.yz (need 4 numbers).
     130#
     131# HS_* variables are defined in make/hotspot_version
     132#
     133HS_VER=$(HS_MAJOR_VER),$(HS_MINOR_VER),0,$(HS_BUILD_NUMBER)
     134HS_DOTVER=$(HS_MAJOR_VER).$(HS_MINOR_VER).0.$(HS_BUILD_NUMBER)
     135
     136ifeq ($(HOTSPOT_RELEASE_VERSION),)
     137HOTSPOT_RELEASE_VERSION=$(HS_MAJOR_VER).$(HS_MINOR_VER)-b$(HS_BUILD_NUMBER)
     138endif
     139
     140ifeq ($(HOTSPOT_BUILD_VERSION),)
     141HS_BUILD_VER=$(HOTSPOT_RELEASE_VERSION)
     142else
     143HS_BUILD_VER=$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION)
     144endif
     145
     146# End VERSIONINFO parameters
     147
    86148checkSA::
    87149
     
    149211        @ echo HS_NAME=$(PRODUCT_NAME) $(JDK_MKTG_VERSION)      >> $@
    150212        @ echo HS_BUILD_VER=$(HS_BUILD_VER)                     >> $@
    151         @ echo BUILD_WIN_SA=$(BUILD_WIN_SA)                     >> $@
     213        @ echo BUILD_OS2_SA=$(BUILD_OS2_SA)                     >> $@
    152214        @ echo SA_BUILD_VERSION=$(HS_BUILD_VER)                 >> $@
    153215        @ echo SA_INCLUDE=$(SA_INCLUDE)                         >> $@
  • TabularUnified trunk/openjdk/hotspot/src/share/vm/runtime/vm_version.cpp

    r2 r95  
    145145#define OS       LINUX_ONLY("linux")             \
    146146                 WINDOWS_ONLY("windows")         \
     147                 OS2_ONLY("os2")                 \
    147148                 SOLARIS_ONLY("solaris")
    148149
  • TabularUnified trunk/openjdk/hotspot/src/share/vm/utilities/macros.hpp

    r2 r95  
    149149#endif
    150150
     151#ifdef __OS2__
     152#define OS2_ONLY(code) code
     153#define NOT_OS2(code)
     154#else
     155#define OS2_ONLY(code)
     156#define NOT_OS2(code) code
     157#endif
     158
    151159#if defined(IA32) || defined(AMD64)
    152160#define X86
Note: See TracChangeset for help on using the changeset viewer.