On Thu, 1 Jun 2023 17:24:34 GMT, Phil Race <[email protected]> wrote:

>> Alexander Zvegintsev has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   fix toolkit if condition
>
> src/java.desktop/unix/classes/sun/awt/X11/XDragSourceContextPeer.java line 
> 408:
> 
>> 406:      */
>> 407:     private static boolean isXWaylandDndAwareWindow(long window) {
>> 408:         if (Toolkit.getDefaultToolkit() instanceof SunToolkit sunToolkit
> 
> So if it is NOT an instance of sunToolkit .. then you carry on to the code 
> that gets the property.
> Is that what you meant to happen ?

Fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14266#discussion_r1213533156

Reply via email to