From: Gary Benson <gbenson@redhat.com>
To: mauve-patches@sources.redhat.com
Subject: FYI: Minor cleanups
Date: Tue, 13 Jun 2006 14:03:00 -0000 [thread overview]
Message-ID: <20060613140323.GB3625@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 107 bytes --]
Hi all,
My last commit removed some unnecessary workarounds from the AWT
throwpoint checks.
Cheers,
Gary
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 2279 bytes --]
Index: ChangeLog
===================================================================
RCS file: /cvs/mauve/mauve/ChangeLog,v
retrieving revision 1.1678
diff -u -r1.1678 ChangeLog
--- ChangeLog 13 Jun 2006 10:54:00 -0000 1.1678
+++ ChangeLog 13 Jun 2006 14:01:02 -0000
@@ -1,3 +1,8 @@
+2006-06-13 Gary Benson <gbenson@redhat.com>
+
+ * gnu/testlet/java/awt/Robot/security.java: Minor cleanup.
+ * gnu/testlet/java/awt/Window/security.java: Likewise.
+
2006-06-13 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/testlet/gnu/javax/crypto/jce/TestOfPR27849.java: New test.
Index: gnu/testlet/java/awt/Robot/security.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/awt/Robot/security.java,v
retrieving revision 1.2
diff -u -r1.2 security.java
--- gnu/testlet/java/awt/Robot/security.java 2 Jun 2006 09:27:54 -0000 1.2
+++ gnu/testlet/java/awt/Robot/security.java 13 Jun 2006 14:01:02 -0000
@@ -26,7 +26,6 @@
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import java.awt.Robot;
-import java.awt.Toolkit;
import java.security.Permission;
import java.util.PropertyPermission;
@@ -39,9 +38,6 @@
public void test(TestHarness harness)
{
try {
- Toolkit.getDefaultToolkit();
- Math.log(1);
-
GraphicsDevice gd =
GraphicsEnvironment.getLocalGraphicsEnvironment()
.getDefaultScreenDevice();
Index: gnu/testlet/java/awt/Window/security.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/awt/Window/security.java,v
retrieving revision 1.2
diff -u -r1.2 security.java
--- gnu/testlet/java/awt/Window/security.java 2 Jun 2006 09:27:54 -0000 1.2
+++ gnu/testlet/java/awt/Window/security.java 13 Jun 2006 14:01:02 -0000
@@ -25,7 +25,6 @@
import java.awt.AWTPermission;
import java.awt.Frame;
import java.awt.GraphicsConfiguration;
-import java.awt.Toolkit;
import java.awt.Window;
import java.security.Permission;
@@ -38,8 +37,6 @@
public void test(TestHarness harness)
{
try {
- Toolkit.getDefaultToolkit();
-
Frame frame = new Frame();
Window window = new Window(frame);
GraphicsConfiguration gc = window.getGraphicsConfiguration();
reply other threads:[~2006-06-13 14:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060613140323.GB3625@redhat.com \
--to=gbenson@redhat.com \
--cc=mauve-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).