Hi Yuri,

Is it possible to make those tests to run on both Jigsaw and non-Jigsaw JDKs?

Some tests may be unstable on Ubuntu because of https://bugs.openjdk.java.net/browse/JDK-8036915.

To make stability better I propose to replace all top windows getLocation() by getLocationOnScreen() and for rectangles got by getBounds() to call setLocation(window.getLocationOnScreen()).

getLocationOnScreen() queries the position from WM directly and is more reliable.

--Semyon


On 3/24/2016 6:12 PM, Yuri Nesterenko wrote:
Sergey, I'm sorry,
filing JDK-8152693, I found an error in that version.

A new one is
http://cr.openjdk.java.net/~yan/8150535/webrev.02
The spawned processes were provided with addExports.

Shame on me!
-yan


On 03/24/2016 05:34 PM, Sergey Bylokhov wrote:
cc swing-dev

On 24.03.16 17:17, Yuri Nesterenko wrote:
Hi,

please review this test-only fix, a leftover from Jigsaw M3 integration. Some 7 tests fixed but note that not all of them always pass even fixed.
Webrev:
http://cr.openjdk.java.net/~yan/8150535/webrev.01

I need to file a bug about the fixed here manual test
java/awt/xembed/server/TestXEmbedServerJava

Thank you!

-yan




Reply via email to