<Sound Dev> RFR: 8271603: Unnecessary Vector usage in java.desktop
prr at openjdk.java.net
Tue Aug 10 00:08:32 UTC 2021
On Tue, 6 Jul 2021 11:32:18 GMT, Сергей Цыпанов <github.com+10835776+stsypanov at openjdk.org> wrote:
>> It's not a public API. As I see from other PR/commits changing package-private methods shouldn't be a problem.
> Even non-public method can be called via reflection, so I'd be cautios about changing return type
Apps should not be doing that and the desktop module along with most of the rest of the JDK is strongly encapsulated and illegal access will be denied. But given the relationship with the sole (?) caller I think this is not worth the churn. Not exactly an MT hotspot. I'd revert the changes here and in MenuBar.
More information about the sound-dev