Path: blob/master/runtime/include/vendor_version.h
5986 views
/*******************************************************************************1* Copyright (c) 2017, 2020 IBM Corp. and others2*3* This program and the accompanying materials are made available under4* the terms of the Eclipse Public License 2.0 which accompanies this5* distribution and is available at https://www.eclipse.org/legal/epl-2.0/6* or the Apache License, Version 2.0 which accompanies this distribution and7* is available at https://www.apache.org/licenses/LICENSE-2.0.8*9* This Source Code may also be made available under the following10* Secondary Licenses when the conditions for such availability set11* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU12* General Public License, version 2 with the GNU Classpath13* Exception [1] and GNU General Public License, version 2 with the14* OpenJDK Assembly Exception [2].15*16* [1] https://www.gnu.org/software/classpath/license.html17* [2] http://openjdk.java.net/legal/assembly-exception.html18*19* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception20*******************************************************************************/2122/* This file provides a means to supply vendor specific version info such as23* vendor name, short name, SHA, and version string.24* These vendor version info can be defined either in this file or other places.25*26* Example usage for inclusion of a vendor name and repository sha. These values27* will be inserted into the java.fullversion and java.vm.info system properties28* and in a generated javacore file.29*30* Note: The default Java full version string buffer size is 512, if the combined31* length of VENDOR_SHORT_NAME and VENDOR_SHA (including white space and control32* characters) is longer than 350 characters, please increase the buffer size at33* openj9/runtime/jcl/common/jclcinit.c - Line 7434*35* #define VENDOR_SHORT_NAME "ABC"36* #define VENDOR_SHA "1a2b3c4"37*38* Example usage for inclusion of a vendor version string.39* This value will be stored in the system property java.vm.version.40* #define J9JVM_VERSION_STRING "0.8.1"41*/4243#ifndef vendor_version_h44#define vendor_version_h4546#include "openj9_version_info.h"47#include "j9cfg.h"4849#define VENDOR_SHORT_NAME "OpenJ9"5051#define JAVA_VM_VENDOR "Eclipse OpenJ9"52#define JAVA_VM_NAME "Eclipse OpenJ9 VM"5354#endif /* vendor_version_h */555657