From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16219 invoked by alias); 17 Feb 2006 13:13:09 -0000 Received: (qmail 16207 invoked by uid 22791); 17 Feb 2006 13:13:07 -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; Fri, 17 Feb 2006 13:13:03 +0000 Received: from slippy.wire.rat ([192.168.1.1]) by gbenson.demon.co.uk with esmtp (Exim 3.36 #1) id 1FA5Pw-00027N-00 for mauve-patches@sources.redhat.com; Fri, 17 Feb 2006 13:13:00 +0000 Received: from slippy.wire.rat (localhost.localdomain [127.0.0.1]) by slippy.wire.rat (8.13.1/8.13.1) with ESMTP id k1HDD0nl006591 for ; Fri, 17 Feb 2006 13:13:00 GMT Received: (from gary@localhost) by slippy.wire.rat (8.13.1/8.13.1/Submit) id k1HDD0pr006590 for mauve-patches@sources.redhat.com; Fri, 17 Feb 2006 13:13:00 GMT Date: Fri, 17 Feb 2006 13:13:00 -0000 From: Gary Benson To: mauve-patches@sources.redhat.com Subject: FYI: Add a missing java.lang.Thread throwpoint test Message-ID: <20060217131259.GB5142@redhat.com> Mail-Followup-To: mauve-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Nq2Wo0NMKNjxTN9z" 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/msg00150.txt.bz2 --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 118 Hi all, This commit adds a throwpoint check that I missed when I did the other java.lang.Thread ones. Cheers, Gary --Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch Content-length: 1378 Index: ChangeLog =================================================================== RCS file: /cvs/mauve/mauve/ChangeLog,v retrieving revision 1.1480 diff -u -r1.1480 ChangeLog --- ChangeLog 16 Feb 2006 11:15:05 -0000 1.1480 +++ ChangeLog 17 Feb 2006 13:10:11 -0000 @@ -1,3 +1,7 @@ +2006-02-17 Gary Benson + + * gnu/testlet/java/lang/Thread/security.java: One more test. + 2006-02-16 Gary Benson * gnu/testlet/java/lang/Thread/security.java: New test. Index: gnu/testlet/java/lang/Thread/security.java =================================================================== RCS file: /cvs/mauve/mauve/gnu/testlet/java/lang/Thread/security.java,v retrieving revision 1.1 diff -u -r1.1 security.java --- gnu/testlet/java/lang/Thread/security.java 16 Feb 2006 11:15:05 -0000 1.1 +++ gnu/testlet/java/lang/Thread/security.java 17 Feb 2006 13:10:11 -0000 @@ -189,6 +189,18 @@ harness.debug(ex); harness.check(false, "unexpected check"); } + + // throwpoint: java.lang.Thread-enumerate + harness.checkPoint("enumerate"); + try { + sm.prepareChecks(modifyThreadGroup); + Thread.enumerate(new Thread[0]); + sm.checkAllChecked(harness); + } + catch (SecurityException ex) { + harness.debug(ex); + harness.check(false, "unexpected check"); + } // throwpoint: java.lang.Thread-stop() harness.checkPoint("stop()"); --Nq2Wo0NMKNjxTN9z--