Reviewer needed - fix for regression test java/awt/Insets/WindowWithWarningTest/WindowWithWarning

Pavel Tisnovsky ptisnovs at redhat.com
Fri Nov 26 10:41:05 PST 2010


Hi all,

can anyone please review fix for regression test
java/awt/Insets/WindowWithWarningTest/WindowWithWarning? Mercurial
export for IcedTea6 HEAD (1.10pre) is included in this mail as attachment.

Description of the fix:

This test must be run in an environment similar to sandbox used for
running regular applets, which among other things means that each window
created by the test itself has to be labelled by warning message "Java
Applet Window".

But for the test to (probably successfuly) proceed it is also required
that AWT Robot is enabled (and it is disabled by default for applets,
which reasonable, of course).

To guarantee both conditions to run this test I copied system security
policy file, added new line to enable AWT robot and then configured the
test itself to use this policy file, because JTreg harness usually
starts such tests (applets) without security manager installed.

PS: I've made this fix with great help of Andrew, Deepak and Omair -
thank you very much colleagues!

Cheers
Pavel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hg_export
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20101126/00701744/hg_export.ksh 


More information about the distro-pkg-dev mailing list