On Thu, 28 Aug 2025 06:25:47 GMT, Sergey Bylokhov <[email protected]> wrote:

>> Damon Nguyen has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Make vars static
>
> src/java.desktop/share/classes/java/awt/Robot.java line 970:
> 
>> 968:      * @since   26
>> 969:      */
>> 970:     public synchronized void type(int keycode) {
> 
> Is there any reason why this method is synchronized? Do we want to support 
> mutithreaded execution of these methods?

Other similar methods are synchronized as well. I don't see an issue with this 
one in particular not being synchronized as well.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26969#discussion_r2308834015

Reply via email to