changeset 47644:236ae284a986

8187462: IntegralConstant should not be AllStatic Summary: Changed base class to VALUE_OBJ_CLASS_SPEC Reviewed-by: coleenp
author kbarrett
date Tue, 17 Oct 2017 20:21:50 -0400
parents 51a922ce7c4a
children 3e7702cd3f19
files src/hotspot/share/metaprogramming/integralConstant.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;