RFR: 8365643: JShell EditPad out of bounds on Windows

Alexey Ivanov aivanov at openjdk.org
Mon Aug 18 14:38:11 UTC 2025


On Mon, 18 Aug 2025 04:48:26 GMT, David Alayachew <duke at openjdk.org> wrote:

> When calling the `setLocationRelativeTo()` method, a null parameter means that it centers the window in the screen. However, any subsequent resizing operations will change only the size, not the location of the window. Understandable, but now the window is no longer centered. So, changing the order of operations.

Looks good to me.

I agree the copyright year should be updated in `EditPad.java`.

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

Marked as reviewed by aivanov (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26814#pullrequestreview-3128658090


More information about the compiler-dev mailing list