On Mon, 2 May 2022 21:02:02 GMT, Harshitha Onkar <d...@openjdk.java.net> wrote:
> This test case tests the functionality of `setAlwaysOnTop`. > Documentation on `setAlwaysOnTop`: > [Link](https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/java/awt/Window.html#setAlwaysOnTop(boolean)) > > The following test case was seen to fail on windows and linux platforms. With > the proposed fix, the test case works on all platforms. > > The test case tests `alwaysOnTop` for the following three cases: > > 1. JDialog with no parent/owner > 2. JDialog with JFrame as owner > 3. JDialog with another JDialog as owner > > Each of the three cases mentioned above is tested under 3 scenarios: >  This pull request has now been integrated. Changeset: 837928ba Author: Harshitha Onkar <harshitha.on...@oracle.com> Committer: Phil Race <p...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/837928ba7955dbfd4a9c966209c3469c0fb5e195 Stats: 223 lines in 2 files changed: 128 ins; 35 del; 60 mod 8222323: ChildAlwaysOnTopTest.java fails with "RuntimeException: Failed to unset alwaysOnTop" Reviewed-by: prr, kizune ------------- PR: https://git.openjdk.java.net/jdk/pull/8509