Hi,

regression test jawa/awt/Window/AlwaysOnTopEvenOfWindow regularly fails on these platforms:

Fedora 10/11, RHEL 5.3
i386, x86_64
OpenJDK6
* Gnome as desktop environment *

It looks like that AWT Window constructed by calling new Window(null) is always shown on top (at least on Gnome), regardless of other settings. For example frame.setAlwaysOnTop(true) does not change order of top level containers.

I'm not sure about Window constructed by new Window(null) correct behaviour. That probably means that this Window does not have parent container, but JavaDoc (only) says: "A window must have either a frame, dialog, or another window defined as its owner when it's constructed."

When I change line 49 to Frame win = new Frame(); (Frame is constructed instead of Window), test passes.

My question is: is this regression test written incorrectly or has OpenJDK6 & Gnome bug in top level containers handling?

Thank you for your answers,
Pavel Tisnovsky

Reply via email to