Projects
openEuler:24.03:SP1:Everything
openjdk-1.8.0
_service:tar_scm:fix-vendor-info.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:fix-vendor-info.patch of Package openjdk-1.8.0
From 175bc1bb2cf5d850e3a5dd13ce5ccd6ef330e81b Mon Sep 17 00:00:00 2001 Date: Fri, 22 Jan 2021 11:23:08 +0800 Subject: modify vendor to Huawei Technologies Co., LTD --- hotspot/src/share/vm/runtime/vm_version.cpp | 7 +------ jdk/src/share/native/java/lang/System.c | 6 +++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/hotspot/src/share/vm/runtime/vm_version.cpp b/hotspot/src/share/vm/runtime/vm_version.cpp index ef25fb4b2..c30ebc288 100644 --- a/hotspot/src/share/vm/runtime/vm_version.cpp +++ b/hotspot/src/share/vm/runtime/vm_version.cpp @@ -142,12 +142,7 @@ const char* Abstract_VM_Version::vm_name() { const char* Abstract_VM_Version::vm_vendor() { -#ifdef VENDOR - return VENDOR; -#else - return JDK_Version::is_gte_jdk17x_version() ? - "Oracle Corporation" : "Sun Microsystems Inc."; -#endif + return "Huawei Technologies Co., Ltd"; } diff --git a/jdk/src/share/native/java/lang/System.c b/jdk/src/share/native/java/lang/System.c index ff80b0abd..758cfabb3 100644 --- a/jdk/src/share/native/java/lang/System.c +++ b/jdk/src/share/native/java/lang/System.c @@ -110,13 +110,13 @@ Java_java_lang_System_identityHashCode(JNIEnv *env, jobject this, jobject x) /* Third party may overwrite these values. */ #ifndef VENDOR -#define VENDOR "Oracle Corporation" +#define VENDOR "Huawei Technologies Co., Ltd" #endif #ifndef VENDOR_URL -#define VENDOR_URL "http://java.oracle.com/" +#define VENDOR_URL "http://jdk.rnd.huawei.com/" #endif #ifndef VENDOR_URL_BUG -#define VENDOR_URL_BUG "http://bugreport.sun.com/bugreport/" +#define VENDOR_URL_BUG "http://jdk.rnd.huawei.com/" #endif #define JAVA_MAX_SUPPORTED_VERSION 52 -- 2.19.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2