[OpenJDK 2D-Dev] RFR: 8267940: [macos] java/awt/print/Dialog/DialogOwnerTest.java fails

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Jul 19 05:04:08 UTC 2021

This test fails to follow the test instruction which says ""On Top" print dialogs should stay behind the "Owner Window" 
but it seems to be the behaviour right from jdk11b18 where DialogOwner class and this test was inducted via JDK-8203796 not only in mac but in windows too ie,
"On Top" print dialogs should stay behind the "Owner Window" as per instruction but is not.
On Top print dialogs actually stay above the "owner window"

I guess there is some ambiguity in test instruction or clarity in understanding test instructions is not there
because Test instructions says "For On Top tests all windows should stay *behind* the owner window."
but "Owner Window" instruction says "For tests that are 'Owned' or 'On Top' the dialog must always stay *above* this window. " 

Rectified the test instruction to be same as owner window instruction


Commit messages:
 - [macos] java/awt/print/Dialog/DialogOwnerTest.java fails

Changes: https://git.openjdk.java.net/jdk/pull/4823/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4823&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8267940
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4823.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4823/head:pull/4823

PR: https://git.openjdk.java.net/jdk/pull/4823

More information about the 2d-dev mailing list