--- old/src/share/vm/runtime/vm_version.cpp 2012-09-17 16:14:23.135028844 -0400 +++ new/src/share/vm/runtime/vm_version.cpp 2012-09-17 16:14:21.958868619 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2012, 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 @@ -106,24 +106,26 @@ #define VMLP "" #endif -#ifdef KERNEL - #define VMTYPE "Kernel" -#else // KERNEL -#ifdef TIERED - #define VMTYPE "Server" -#else // TIERED -#ifdef ZERO -#ifdef SHARK - #define VMTYPE "Shark" -#else // SHARK - #define VMTYPE "Zero" -#endif // SHARK -#else // ZERO - #define VMTYPE COMPILER1_PRESENT("Client") \ - COMPILER2_PRESENT("Server") -#endif // ZERO -#endif // TIERED -#endif // KERNEL +#ifndef VMTYPE + #ifdef KERNEL + #define VMTYPE "Kernel" + #else // KERNEL + #ifdef TIERED + #define VMTYPE "Server" + #else // TIERED + #ifdef ZERO + #ifdef SHARK + #define VMTYPE "Shark" + #else // SHARK + #define VMTYPE "Zero" + #endif // SHARK + #else // ZERO + #define VMTYPE COMPILER1_PRESENT("Client") \ + COMPILER2_PRESENT("Server") + #endif // ZERO + #endif // TIERED + #endif // KERNEL +#endif #ifndef HOTSPOT_VM_DISTRO #error HOTSPOT_VM_DISTRO must be defined