Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 67458 invoked from network); 31 Aug 2005 17:10:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2005 17:10:37 -0000 Received: (qmail 75150 invoked by uid 500); 31 Aug 2005 17:10:36 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 75121 invoked by uid 500); 31 Aug 2005 17:10:35 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 75108 invoked by uid 99); 31 Aug 2005 17:10:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 10:10:35 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.182.141] (HELO e1.ny.us.ibm.com) (32.97.182.141) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2005 10:10:49 -0700 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e1.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j7VHAOlx029077 for ; Wed, 31 Aug 2005 13:10:24 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay04.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j7VHANCo102378 for ; Wed, 31 Aug 2005 13:10:24 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j7VHANB5025612 for ; Wed, 31 Aug 2005 13:10:23 -0400 Received: from [127.0.0.1] (DMCSDJDT41P.usca.ibm.com [9.72.133.55]) by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j7VHAKHD025234 for ; Wed, 31 Aug 2005 13:10:22 -0400 Message-ID: <4315E478.5060107@debrunners.com> Date: Wed, 31 Aug 2005 10:10:16 -0700 From: Daniel John Debrunner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development Subject: Re: [jira] Commented: (DERBY-496) unit test 'org.apache.derbyTesting.unitTests.services.T_Diagnosticable' was failed References: <1888682419.1125486186316.JavaMail.jira@ajax.apache.org> In-Reply-To: <1888682419.1125486186316.JavaMail.jira@ajax.apache.org> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Tomohito Nakayama (JIRA) wrote: > [ http://issues.apache.org/jira/browse/DERBY-496?page=comments#action_12320680 ] > > Tomohito Nakayama commented on DERBY-496: > ----------------------------------------- > > Description of DERBY-496_2_addition.patch: > > Modification: > * Adding DiagnosticUtil explicitly to derby.jar by modifying extraDBMSclasses.properties > > Testing: > * unit/T_Diagnosticable passed. Not sure I agree with this change. Adding code into the product (derby.jar) *only* in order to make a unit test pass seems a generally incorrect approach. I think that maybe the Diagnosticable interface should be removed. I think the functionality it is trying to provide is really the domain of a Java debugger. The classes & mechanism were there to provide access to non-public fields of classes for debugging, but its approach requires security compromises to be made, by making such private or non-public fields accessible. Dan.