--- a/make/lib/Lib-java.management.gmk Thu Feb 07 10:26:32 2019 +0100
+++ b/make/lib/Lib-java.management.gmk Thu Feb 07 12:35:45 2019 +0100
@@ -31,7 +31,7 @@
################################################################################
LIBMANAGEMENT_OPTIMIZATION := HIGH
-ifneq ($(findstring $(OPENJDK_TARGET_OS), solaris linux), )
+ifeq ($(call isTargetOs, solaris linux), true)
ifeq ($(COMPILE_WITH_DEBUG_SYMBOLS), true)
LIBMANAGEMENT_OPTIMIZATION := LOW
endif
@@ -57,4 +57,3 @@
# Include custom extension post hook
$(eval $(call IncludeCustomExtension, lib/Lib-java.management-post.gmk))
-