8187462: IntegralConstant should not be AllStatic
Summary: Changed base class to VALUE_OBJ_CLASS_SPEC
Reviewed-by: coleenp
--- a/src/hotspot/share/metaprogramming/integralConstant.hpp Tue Oct 17 23:05:35 2017 +0000
+++ b/src/hotspot/share/metaprogramming/integralConstant.hpp Tue Oct 17 20:21:50 2017 -0400
@@ -44,7 +44,7 @@
// T is an integral type, and is the value_type.
// v is an integral constant, and is the value.
template<typename T, T v>
-struct IntegralConstant : AllStatic {
+struct IntegralConstant VALUE_OBJ_CLASS_SPEC {
typedef T value_type;
static const value_type value = v;
typedef IntegralConstant<T, v> type;