> 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: > 
Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision: added changes to continue testing and exception thrown at end in case of failure ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/8509/files - new: https://git.openjdk.java.net/jdk/pull/8509/files/1b7e59fe..396d5659 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8509&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8509&range=00-01 Stats: 89 lines in 1 file changed: 41 ins; 39 del; 9 mod Patch: https://git.openjdk.java.net/jdk/pull/8509.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8509/head:pull/8509 PR: https://git.openjdk.java.net/jdk/pull/8509