public inbox for mauve-patches@sourceware.org
 help / color / mirror / Atom feed
* FYI: Tidied java.lang.Thread throwpoint tests
@ 2006-05-09  9:53 Gary Benson
  0 siblings, 0 replies; only message in thread
From: Gary Benson @ 2006-05-09  9:53 UTC (permalink / raw)
  To: mauve-patches

[-- Attachment #1: Type: text/plain, Size: 113 bytes --]

Hi all,

My last commit tidied up some unused stuff from the java.lang.Thread
throwpoint testcase.

Cheers,
Gary

[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 1961 bytes --]

Index: ChangeLog
===================================================================
RCS file: /cvs/mauve/mauve/ChangeLog,v
retrieving revision 1.1610
diff -u -r1.1610 ChangeLog
--- ChangeLog	7 May 2006 23:01:25 -0000	1.1610
+++ ChangeLog	9 May 2006 09:33:19 -0000
@@ -1,3 +1,7 @@
+2006-05-09  Gary Benson  <gbenson@redhat.com>
+
+	* gnu/testlet/java/lang/Thread/security.java: Removed unused stuff.
+
 2005-04-29  Sven de Marothy  <sven@physto.se>
 
 	* gnu/testlet/java/util/Calendar/setTimeZone.java:
Index: gnu/testlet/java/lang/Thread/security.java
===================================================================
RCS file: /cvs/mauve/mauve/gnu/testlet/java/lang/Thread/security.java,v
retrieving revision 1.3
diff -u -r1.3 security.java
--- gnu/testlet/java/lang/Thread/security.java	4 May 2006 14:48:19 -0000	1.3
+++ gnu/testlet/java/lang/Thread/security.java	9 May 2006 09:33:19 -0000
@@ -70,7 +70,7 @@
       harness.check(testThread.getThreadGroup().getParent() == null);
 
       Thread modifyGroupThread = new Thread(
-	systemGroup, new SysTestRunner(harness, sm, testThread));
+	systemGroup, new SysTestRunner(harness, sm));
       harness.check(modifyGroupThread.getThreadGroup().getParent() == null);
 
       Throwable threadDeath = new ThreadDeath();
@@ -350,7 +350,6 @@
   {
     private TestHarness harness;
     private TestSecurityManager2 sm;
-    private Thread testThread;
 
     private static Runnable runnable = new Runnable()
     {
@@ -359,20 +358,15 @@
       }
     };
 
-    public SysTestRunner(TestHarness harness,
-			 TestSecurityManager2 sm,
-			 Thread testThread)
+    public SysTestRunner(TestHarness harness, TestSecurityManager2 sm)
     {
       this.harness = harness;
       this.sm = sm;
-      this.testThread = testThread;
     }
 
     public void run()
     {
       try {
-	Thread thisThread = Thread.currentThread();
-
 	// throwpoint: java.lang.Thread-enumerate
 	harness.checkPoint("enumerate");
 	try {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-09  9:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-09  9:53 FYI: Tidied java.lang.Thread throwpoint tests Gary Benson

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).