RFR: 8305915: java/awt/Frame/FrameLocation/FrameLocation.java fails with "The frame location is wrong!"

Alexander Zvegintsev azvegint at openjdk.org
Fri Sep 19 10:20:32 UTC 2025


On Fri, 19 Sep 2025 08:05:19 GMT, Tejesh R <tr at openjdk.org> wrote:

> What was the reason why the test failed?

Actually, the test hasn't failed in CI for mainline since 2023.

The exception that was thrown was "The frame location is wrong! Current: 250, 287; expected: 250, 250" was most likely addressed by [this fix](https://github.com/openjdk/jdk/commit/632a3c56e0626b4c4f79c8cb3d2ae312668d63fc#diff-2c406926284602be40cad012fcd1f92ca66e770427e760ced53c5e609f827ac4R1372-R1374) (resolved in 2023), in which the top inset is 37.


case MUTTER_WM:
    res = new Insets(37, 0, 0, 0);
    break;


> Error
> 
> ⚠️ 8305915 is used in problem lists: [test/jdk/ProblemList.txt] 

However, the problem list only contains another test under the 8305915 bug ID.

> java/awt/Frame/SizeMinimizedTest.java 8305915 linux-x64

And that is what we should pay attention to.

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

PR Comment: https://git.openjdk.org/jdk/pull/27366#issuecomment-3311590036


More information about the client-libs-dev mailing list