RFR: 8332431: NullPointerException in JTable of SwingSet2 [v2]

Abhishek Kumar abhiscxk at openjdk.org
Tue May 28 07:21:09 UTC 2024


On Tue, 28 May 2024 07:04:19 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> src/java.desktop/share/classes/javax/swing/ToolTipManager.java line 271:
>> 
>>> 269:                     toFind = mouseEvent.getLocationOnScreen();
>>> 270:                 } else {
>>> 271:                     toFind = screenLocation;
>> 
>> Why `toFind` is set to `screenLocation` ?
>
> If mouse movement is not there, then it is imperative to use the original screenlocation to find GraphicsConfiuration but as told this codepath was not used so probably a no-op and should not be an issue..

Thanks for clarification.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19379#discussion_r1616718406


More information about the client-libs-dev mailing list