8223309: test failing due to self-assign-overloaded
authorerikj
Fri, 03 May 2019 09:34:02 -0700
changeset 54711 297ddf282627
parent 54710 aa29971a17a1
child 54712 029b56549e22
child 57350 bf3d37105ef9
8223309: test failing due to self-assign-overloaded Reviewed-by: tbell Contributed-by: johan.vos@gluonhq.com, erik.joelsson@oracle.com
make/autoconf/flags-cflags.m4
make/hotspot/lib/CompileGtest.gmk
--- 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) \