<AWT Dev> Reviewer needed - fix for regression test java/awt/Insets/WindowWithWarningTest/WindowWithWarningTest
Dr Andrew John Hughes
ahughes at redhat.com
Wed Dec 1 10:36:35 PST 2010
On 19:36 Wed 01 Dec , Anthony Petrov wrote:
> By the way, since 6u10 there's no a security banner that affects window
> insets. The security warning is a separate window (the yellow triangle
> on the top-right corner of the top-level window by default).
> So apparently this test doesn't make sense anymore. I'm not sure if
> OpenJDK 6 contains the new security warning implementation, but we can
> definitely remove the test from JDK 7.
Do you have a bug ID for this new warning implementation? Then we can
see if it is in OpenJDK6 or not.
> best regards,
> On 12/1/2010 4:09 PM, Pavel Tisnovsky wrote:
> > Hi all,
> > can anyone please review fix for regression test
> > java/awt/Insets/WindowWithWarningTest/WindowWithWarning?
> > Webrev containing the fix is available at
> > http://cr.openjdk.java.net/~ptisnovs/WindowWithWarning/
> > 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
> > Applet Window".
> > 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.
> > Cheers
> > Pavel
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the awt-dev