RFR: 8295804: javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly"

Abhishek Kumar abhiscxk at openjdk.org
Thu Jan 11 06:17:20 UTC 2024


On Thu, 11 Jan 2024 04:48:23 GMT, Tejesh R <tr at openjdk.org> wrote:

> The issue is that the doc area (in respect to the screen height which is 768px) which is at the bottom was causing the `JFileChooser `to be placed slightly above the set location. Was able to reproduce in local machine with reference to the failure image provided in the CI logs. The suggested fix is to place the main Frame slightly above the center of the screen than setting at the center of the screen. Several CI runs were made and no issue found.

Does the test fails only on the system which is 768px in height or in any other screen size also?

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

PR Comment: https://git.openjdk.org/jdk/pull/17364#issuecomment-1886362201


More information about the client-libs-dev mailing list