8187462: IntegralConstant should not be AllStatic
authorkbarrett
Tue, 17 Oct 2017 20:21:50 -0400
changeset 47644 236ae284a986
parent 47643 51a922ce7c4a
child 47645 3e7702cd3f19
8187462: IntegralConstant should not be AllStatic Summary: Changed base class to VALUE_OBJ_CLASS_SPEC Reviewed-by: coleenp
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<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;