diff -r bf12b502df94 -r 69d65d9dcadb src/hotspot/share/gc/shared/barrierSet.hpp --- a/src/hotspot/share/gc/shared/barrierSet.hpp Wed Jan 10 10:21:25 2018 +0100 +++ b/src/hotspot/share/gc/shared/barrierSet.hpp Wed Jan 10 18:04:56 2018 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -147,9 +147,8 @@ // 3) Provide specializations for BarrierSet::GetName and BarrierSet::GetType. template class AccessBarrier: protected RawAccessBarrier { - protected: + private: typedef RawAccessBarrier Raw; - typedef typename BarrierSetT::template AccessBarrier CRTPAccessBarrier; public: // Primitive heap accesses. These accessors get resolved when