On Tue, 24 Aug 2021 23:09:52 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> Andrey Turbanov has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   8271603: Unnecessary Vector usage in java.desktop
>>   revert back to Enumeration
>>   bring back default values
>
> src/java.desktop/share/classes/javax/sound/sampled/AudioSystem.java line 244:
> 
>> 242:         }
>> 243: 
>> 244:         return list.toArray(new Line.Info[0]);
> 
> I thought we already covered such changed under JDK-8269130, is there are any 
> other missed cases? If yes then probably it will be good to extract such 
> changes.

In JDK-8269130 I fixed only usages of Collections.toArray. and didn't touch 
manual copying.
Reverted usage of toArray where it wasn't used before.

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

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

Reply via email to