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