Fri, 17 Jan 2020 19:07:53 +0000
Added tag jdk8u242-ga for changeset bdd855313cfe
duke@1 | 1 | // |
ohair@158 | 2 | // Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved. |
duke@1 | 3 | // DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
duke@1 | 4 | // |
duke@1 | 5 | // This code is free software; you can redistribute it and/or modify it |
duke@1 | 6 | // under the terms of the GNU General Public License version 2 only, as |
ohair@158 | 7 | // published by the Free Software Foundation. Oracle designates this |
duke@1 | 8 | // particular file as subject to the "Classpath" exception as provided |
ohair@158 | 9 | // by Oracle in the LICENSE file that accompanied this code. |
duke@1 | 10 | // |
duke@1 | 11 | // This code is distributed in the hope that it will be useful, but WITHOUT |
duke@1 | 12 | // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
duke@1 | 13 | // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
duke@1 | 14 | // version 2 for more details (a copy is included in the LICENSE file that |
duke@1 | 15 | // accompanied this code). |
duke@1 | 16 | // |
duke@1 | 17 | // You should have received a copy of the GNU General Public License version |
duke@1 | 18 | // 2 along with this work; if not, write to the Free Software Foundation, |
duke@1 | 19 | // Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
duke@1 | 20 | // |
ohair@158 | 21 | // Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@158 | 22 | // or visit www.oracle.com if you need additional information or have any |
ohair@158 | 23 | // questions. |
duke@1 | 24 | // |
duke@1 | 25 | |
ohair@57 | 26 | #include "windows.h" |
duke@1 | 27 | |
duke@1 | 28 | // Need 2 defines so macro argument to XSTR will get expanded before quoting. |
duke@1 | 29 | #define XSTR(x) STR(x) |
duke@1 | 30 | #define STR(x) #x |
duke@1 | 31 | |
duke@1 | 32 | LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL |
duke@1 | 33 | |
duke@1 | 34 | ///////////////////////////////////////////////////////////////////////////// |
duke@1 | 35 | // |
duke@1 | 36 | // Version |
duke@1 | 37 | // |
duke@1 | 38 | |
duke@1 | 39 | VS_VERSION_INFO VERSIONINFO |
herrick@88 | 40 | FILEVERSION JDK_FVER |
herrick@88 | 41 | PRODUCTVERSION JDK_FVER |
duke@1 | 42 | FILEFLAGSMASK 0x3fL |
duke@1 | 43 | #ifdef _DEBUG |
duke@1 | 44 | FILEFLAGS 0x1L |
duke@1 | 45 | #else |
duke@1 | 46 | FILEFLAGS 0x0L |
duke@1 | 47 | #endif |
duke@1 | 48 | // FILEOS 0x4 is Win32, 0x40004 is Win32 NT only |
duke@1 | 49 | FILEOS 0x4L |
duke@1 | 50 | // FILETYPE should be 0x1 for .exe and 0x2 for .dll |
herrick@88 | 51 | FILETYPE JDK_FTYPE |
duke@1 | 52 | FILESUBTYPE 0x0L |
duke@1 | 53 | BEGIN |
duke@1 | 54 | BLOCK "StringFileInfo" |
duke@1 | 55 | BEGIN |
duke@1 | 56 | BLOCK "000004b0" |
duke@1 | 57 | BEGIN |
herrick@88 | 58 | VALUE "CompanyName", XSTR(JDK_COMPANY) "\0" |
herrick@88 | 59 | VALUE "FileDescription", XSTR(JDK_COMPONENT) "\0" |
herrick@88 | 60 | VALUE "FileVersion", XSTR(JDK_VER) "\0" |
herrick@88 | 61 | VALUE "Full Version", XSTR(JDK_BUILD_ID) "\0" |
herrick@88 | 62 | VALUE "InternalName", XSTR(JDK_INTERNAL_NAME) "\0" |
herrick@88 | 63 | VALUE "LegalCopyright", XSTR(JDK_COPYRIGHT) "\0" |
herrick@88 | 64 | VALUE "OriginalFilename", XSTR(JDK_FNAME) "\0" |
herrick@88 | 65 | VALUE "ProductName", XSTR(JDK_NAME) "\0" |
herrick@88 | 66 | VALUE "ProductVersion", XSTR(JDK_VER) "\0" |
duke@1 | 67 | END |
duke@1 | 68 | END |
duke@1 | 69 | BLOCK "VarFileInfo" |
duke@1 | 70 | BEGIN |
duke@1 | 71 | VALUE "Translation", 0x0, 1200 |
duke@1 | 72 | END |
duke@1 | 73 | END |