On Tue, 24 Aug 2021 21:13:57 GMT, Andrey Turbanov 
<github.com+741251+turban...@openjdk.org> wrote:

>> Usage of thread-safe collection `Vector` is unnecessary. It's recommended to 
>> use `ArrayList` if a thread-safe implementation is not needed. In 
>> post-BiasedLocking times, this is gets worse, as every access is 
>> synchronized.
>> I checked only places where `Vector` was used as local variable.
>
> 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

I found many new places in java.desktop which can be migrated easily. Not sure 
how I did miss them in the first place.
Sorry for inconvenience. Please re-review PR.

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

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

Reply via email to