Projects
Mega:24.09
openjdk-1.8.0
_service:tar_scm:fix-arguments.cpp-error-C2131-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:fix-arguments.cpp-error-C2131-on-windows.patch of Package openjdk-1.8.0
From ef2c0c0a0832a07dff7f93655d64798cfd44d1ba Mon Sep 17 00:00:00 2001 From: zhangyipeng <zhangyipeng7@huawei.com> Date: Wed, 17 Mar 2021 14:31:38 +0800 Subject: [PATCH] [Huawei]fix arguments.cpp error C2131 on windows Signed-off-by: Lin Haibing <linhaibing@huawei.com> --- hotspot/src/share/vm/runtime/arguments.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot/src/share/vm/runtime/arguments.cpp b/hotspot/src/share/vm/runtime/arguments.cpp index ebb5e114c..5dad53a71 100644 --- a/hotspot/src/share/vm/runtime/arguments.cpp +++ b/hotspot/src/share/vm/runtime/arguments.cpp @@ -2174,7 +2174,7 @@ void Arguments::set_bytecode_flags() { void Arguments::set_boxtype_cached_max_flags() { if (!AggressiveOpts) { if (!FLAG_IS_DEFAULT(BoxTypeCachedMax)) { - int size = 1024; + int const size = 1024; char buffer[size]; jio_snprintf(buffer, size, "java.lang.Long.LongCache.high=" INTX_FORMAT, BoxTypeCachedMax); add_property(buffer); -- 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