RFR: 8244162: Additional opportunities to use NONCOPYABLE

Harold Seigel hseigel at openjdk.java.net
Mon Jul 12 14:24:56 UTC 2021


On Tue, 6 Jul 2021 07:01:22 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> src/hotspot/share/classfile/stackMapTableFormat.hpp line 47:
>> 
>>> 45: 
>>> 46:  protected:
>>> 47:   // No constructors  - should be 'private', but GCC issues a warning if it is
>> 
>> Have we checked this is still the case? Might be a very old gcc issue.
>
> I did a little bit of experimenting and couldn't get gcc to warn, though other compilers might do so.  I think such a warning is not unreasonable.

Based on Kim's comment, I decided to leave the change as it currently is.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4652


More information about the shenandoah-dev mailing list