<AWT Dev> Reviewer needed - fix for regression test java/awt/Insets/WindowWithWarningTest/WindowWithWarningTest
ptisnovs at redhat.com
Wed Dec 1 05:09:57 PST 2010
can anyone please review fix for regression test
Webrev containing the fix is available at
Brief 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
But for this test to proceed it is also required
that AWT Robot is enabled (and it is disabled by default for applets,
which is reasonable, of course).
To guarantee both conditions to run this test, I created new security
policy file containing option 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'd like to add this fix to OpenJDK6 too, if it's possible.
More information about the awt-dev