8199220
authorOpenJDK Team <openjdk-17@packages.debian.org>
Mon, 24 Jul 2023 09:57:34 +0000 (10:57 +0100)
committerMoritz Mühlenhoff <jmm@debian.org>
Mon, 24 Jul 2023 09:57:34 +0000 (10:57 +0100)
# HG changeset patch
# User enevill
# Date 1520877434 0
#      Mon Mar 12 17:57:14 2018 +0000
# Node ID 81265b23c488c7fd03ebaee04d1802fc0ada737e
# Parent  ecd91135d645bed6620abbd76ce30a906b6d7d44
8199220: Zero build broken after 81951038191102 and 8189871
Reviewed-by: dholmes, stuefe, eosterlund, glaubitz, coleenp
Gbp-Pq: Name 8199220.diff

src/hotspot/share/utilities/debug.hpp

index 11b79f3cb6c950cb654da3182f6b732abc5f6834..b1092f45b35c49393ff003b3c14154a2d023fefb 100644 (file)
@@ -185,6 +185,7 @@ void warning(const char* format, ...) ATTRIBUTE_PRINTF(1, 2);
 // use of an array type.
 
 template<bool x> struct STATIC_ASSERT_FAILURE;
+template<> struct STATIC_ASSERT_FAILURE<false> { enum { value = 0 }; };
 template<> struct STATIC_ASSERT_FAILURE<true> { enum { value = 1 }; };
 
 #define STATIC_ASSERT(Cond) \