<Sound Dev> RFR: 8271603: Unnecessary Vector usage in java.desktop [v2]
github.com+741251+turbanoff at openjdk.java.net
Wed Aug 25 08:02:03 UTC 2021
On Tue, 24 Aug 2021 23:09:52 GMT, Sergey Bylokhov <serb at 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: }
>> 244: return list.toArray(new Line.Info);
> 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.
More information about the sound-dev