Skip to content
Permalink
Browse files
8261109: [macOS] Remove disabled warning for JNF in make/autoconf/fla…
…gs-cflags.m4

Backport-of: 3bb6a3d2ab96373baa4e18f4e61173f11225fd4e
  • Loading branch information
Vladimir Kempik committed Jul 27, 2021
1 parent 10bd328 commit 6d64b7867f46105585f886b410b0ea251bfcc746
Showing with 0 additions and 8 deletions.
  1. +0 −5 make/autoconf/flags-cflags.m4
  2. +0 −3 make/modules/java.base/Lib.gmk
@@ -163,11 +163,6 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
DISABLED_WARNINGS="unknown-warning-option unused-parameter unused"
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# missing-method-return-type triggers in JavaNativeFoundation framework
DISABLED_WARNINGS="$DISABLED_WARNINGS missing-method-return-type"
fi
;;
xlc)
@@ -96,8 +96,6 @@ $(BUILD_LIBNIO): $(BUILD_LIBNET)
# Create the macosx security library

ifeq ($(call isTargetOs, macosx), true)
# JavaNativeFoundation framework not supported in static builds
ifneq ($(STATIC_BUILD), true)

$(eval $(call SetupJdkLibrary, BUILD_LIBOSXSECURITY, \
NAME := osxsecurity, \
@@ -120,7 +118,6 @@ ifeq ($(call isTargetOs, macosx), true)

TARGETS += $(BUILD_LIBOSXSECURITY)

endif
endif

################################################################################

1 comment on commit 6d64b78

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 6d64b78 Jul 27, 2021

Please sign in to comment.