mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-02 07:10:23 +00:00
8387142: BUILD_LIBMANAGEMENT_EXT remove special warning settings
Reviewed-by: lucy, kevinw
This commit is contained in:
parent
b735de6d71
commit
58b6465455
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2015, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -41,8 +41,6 @@ endif
|
||||
$(eval $(call SetupJdkLibrary, BUILD_LIBMANAGEMENT_EXT, \
|
||||
NAME := management_ext, \
|
||||
OPTIMIZATION := HIGH, \
|
||||
DISABLED_WARNINGS_gcc_DiagnosticCommandImpl.c := unused-variable, \
|
||||
DISABLED_WARNINGS_clang_DiagnosticCommandImpl.c := unused-variable, \
|
||||
DISABLED_WARNINGS_clang_UnixOperatingSystem.c := format-nonliteral, \
|
||||
CFLAGS := $(LIBMANAGEMENT_EXT_CFLAGS), \
|
||||
JDK_LIBS := java.base:libjava java.base:libjvm, \
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2026, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -151,7 +151,7 @@ Java_com_sun_management_internal_DiagnosticCommandImpl_getDiagnosticCommandInfo
|
||||
jobjectArray args;
|
||||
jobject obj;
|
||||
jmmOptionalSupport mos;
|
||||
jint ret = jmm_interface_management_ext->GetOptionalSupport(env, &mos);
|
||||
jmm_interface_management_ext->GetOptionalSupport(env, &mos);
|
||||
jsize num_commands;
|
||||
dcmdInfo* dcmd_info_array;
|
||||
jstring jname, jdesc, jimpact, cmd;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user