On Fri, 22 Sep 2023 15:31:13 GMT, Chen Liang <li...@openjdk.org> wrote:

>> src/java.base/share/classes/java/util/AbstractMap.java line 524:
>> 
>>> 522:     protected Object clone() throws CloneNotSupportedException {
>>> 523:         AbstractMap<?,?> result = (AbstractMap<?,?>)super.clone();
>>> 524:         return result;
>> 
>> Suggestion:
>> 
>>         return super.clone();
>
> Since this base class has no more fields, this method should probably be 
> removed and its spec change included as part of the CSR.

The method has been removed and the spec change has been incorporated into the 
CSR.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15614#discussion_r1364068379

Reply via email to