From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12668 invoked by alias); 9 May 2006 09:53:19 -0000 Received: (qmail 12657 invoked by uid 22791); 9 May 2006 09:53:17 -0000 X-Spam-Check-By: sourceware.org Received: from gbenson.demon.co.uk (HELO gbenson.demon.co.uk) (80.177.220.214) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 May 2006 09:53:15 +0000 Received: from slippy.wire.rat ([192.168.1.1]) by gbenson.demon.co.uk with esmtp (Exim 3.36 #1) id 1FdOu0-0003T4-00 for mauve-patches@sources.redhat.com; Tue, 09 May 2006 10:53:12 +0100 Received: from slippy.wire.rat (localhost.localdomain [127.0.0.1]) by slippy.wire.rat (8.13.1/8.13.1) with ESMTP id k499rCIL005697 for ; Tue, 9 May 2006 10:53:12 +0100 Received: (from gary@localhost) by slippy.wire.rat (8.13.1/8.13.1/Submit) id k499rCCV005696 for mauve-patches@sources.redhat.com; Tue, 9 May 2006 10:53:12 +0100 Date: Tue, 09 May 2006 09:53:00 -0000 From: Gary Benson To: mauve-patches@sources.redhat.com Subject: FYI: Tidied java.lang.Thread throwpoint tests Message-ID: <20060509095310.GB5166@redhat.com> Mail-Followup-To: mauve-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact mauve-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-patches-owner@sourceware.org X-SW-Source: 2006/txt/msg00316.txt.bz2 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 113 Hi all, My last commit tidied up some unused stuff from the java.lang.Thread throwpoint testcase. Cheers, Gary --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch Content-length: 1961 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 + + * gnu/testlet/java/lang/Thread/security.java: Removed unused stuff. + 2005-04-29 Sven de Marothy * 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 { --n8g4imXOkfNTN/H1--