[jdk25u-dev] RFR: 8361067: Test ExtraButtonDrag.java requires frame.dispose in finally block
duke
duke at openjdk.org
Wed Feb 11 15:31:49 UTC 2026
On Thu, 5 Feb 2026 17:36:30 GMT, Roland Mesde <duke at openjdk.org> wrote:
> Backporting JDK-8361067: Test ExtraButtonDrag.java requires frame.dispose in finally block.
>
> This PR fixes ExtraButtonDrag.java to properly dispose frame on test failure and refactors test code.
>
> For parity with Oracle JDK.
>
> Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
>
> make test TEST=test/jdk/java/awt/Mouse/MouseModifiersUnitTest/ExtraButtonDrag.java
>
> Results attached:
>
> [windows-x64-specific-test.log](https://github.com/user-attachments/files/25113974/windows-x64-specific-test.log)
> [macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25113976/macos-aarch64-specific-test.log)
> [linux-x64-specific-test.log](https://github.com/user-attachments/files/25113977/linux-x64-specific-test.log)
> [linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25113978/linux-aarch64-specific-test.log)
@rm-gh-8
Your change (at version 9043381799c26102dd9da5dab8b7dc3ed1dd5274) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk25u-dev/pull/240#issuecomment-3885181533
More information about the jdk-updates-dev
mailing list