On Mon, 2 Mar 2026 04:27:46 GMT, Phil Race <[email protected]> wrote:

> A few DnD related classes use AppContext. This can be removed.

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?

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

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

Reply via email to