On Thu, 5 Mar 2026 23:50:57 GMT, Sergey Bylokhov <[email protected]> wrote:

>> Phil Race has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   8378918
>
> src/java.desktop/share/classes/javax/swing/plaf/basic/DragRecognitionSupport.java
>  line 59:
> 
>> 57:      */
>> 58:     private static DragRecognitionSupport getDragRecognitionSupport() {
>> 59:         synchronized(DragRecognitionSupport.class) {
> 
> "synchronized" on method will have the same effect?

I moved it to the method

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29988#discussion_r2892991466

Reply via email to