diff -r a0ea20bc7af0 -r 44f34d2c3243 src/hotspot/share/libadt/set.hpp --- a/src/hotspot/share/libadt/set.hpp Wed Nov 07 09:39:39 2018 +0100 +++ b/src/hotspot/share/libadt/set.hpp Wed Nov 07 10:12:43 2018 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 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 @@ -120,7 +120,7 @@ // Creates a new set from an existing set // DO NOT CONSTRUCT A Set. THIS IS AN ABSTRACT CLASS, FOR INHERITENCE ONLY - Set(const Set &) {}; + Set(const Set &s) : ResourceObj(s) {}; // Set assignment; deep-copy guts virtual Set &operator =(const Set &s)=0;