# HG changeset patch # User kbarrett # Date 1508286110 14400 # Node ID 236ae284a986e03c1fea2cc00f06a43fc4c6e103 # Parent 51a922ce7c4addf579d6396d0ca1c9434b94846d 8187462: IntegralConstant should not be AllStatic Summary: Changed base class to VALUE_OBJ_CLASS_SPEC Reviewed-by: coleenp diff -r 51a922ce7c4a -r 236ae284a986 src/hotspot/share/metaprogramming/integralConstant.hpp --- 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 -struct IntegralConstant : AllStatic { +struct IntegralConstant VALUE_OBJ_CLASS_SPEC { typedef T value_type; static const value_type value = v; typedef IntegralConstant type;