8223309: test failing due to self-assign-overloaded
Reviewed-by: tbell
Contributed-by: johan.vos@gluonhq.com, erik.joelsson@oracle.com
--- a/make/autoconf/flags-cflags.m4 Fri May 03 12:33:08 2019 -0400
+++ b/make/autoconf/flags-cflags.m4 Fri May 03 09:34:02 2019 -0700
@@ -219,7 +219,7 @@
-Wunused-function -Wundef -Wunused-value -Woverloaded-virtual"
WARNINGS_ENABLE_ALL="-Wall -Wextra -Wformat=2 $WARNINGS_ENABLE_ADDITIONAL"
- DISABLED_WARNINGS="unused-parameter unused"
+ DISABLED_WARNINGS="unknown-warning-option unused-parameter unused"
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
# missing-method-return-type triggers in JavaNativeFoundation framework
--- a/make/hotspot/lib/CompileGtest.gmk Fri May 03 12:33:08 2019 -0400
+++ b/make/hotspot/lib/CompileGtest.gmk Fri May 03 09:34:02 2019 -0700
@@ -76,7 +76,8 @@
DISABLED_WARNINGS_gcc := $(DISABLED_WARNINGS_gcc) \
undef, \
DISABLED_WARNINGS_clang := $(DISABLED_WARNINGS_clang) \
- undef switch format-nonliteral tautological-undefined-compare, \
+ undef switch format-nonliteral tautological-undefined-compare \
+ self-assign-overloaded, \
DISABLED_WARNINGS_solstudio := $(DISABLED_WARNINGS_solstudio) \
identexpected, \
DISABLED_WARNINGS_microsoft := $(DISABLED_WARNINGS_microsoft) \