diff -r 4853b1ceb3d6 -r feba48c5dfb4 src/hotspot/share/opto/node.hpp --- a/src/hotspot/share/opto/node.hpp Mon May 27 19:46:34 2019 -0700 +++ b/src/hotspot/share/opto/node.hpp Tue May 28 12:01:52 2019 +0530 @@ -998,7 +998,7 @@ // the node is guaranteed never to compare equal to any other node. // If we accidentally generate a hash with value NO_HASH the node // won't go into the table and we'll lose a little optimization. - enum { NO_HASH = 0 }; + static const uint NO_HASH = 0; virtual uint hash() const; virtual bool cmp( const Node &n ) const;