Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 45919 invoked from network); 22 Feb 2011 20:01:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Feb 2011 20:01:01 -0000 Received: (qmail 16678 invoked by uid 500); 22 Feb 2011 20:01:01 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 16450 invoked by uid 500); 22 Feb 2011 20:01:00 -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: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 16442 invoked by uid 99); 22 Feb 2011 20:01:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 20:01:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Feb 2011 20:00:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5C7981B2893 for ; Tue, 22 Feb 2011 20:00:39 +0000 (UTC) Date: Tue, 22 Feb 2011 20:00:39 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Message-ID: <873982622.9154.1298404839375.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <210749135.2558.1298093078521.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (DERBY-5061) [patch] make descriptive messages better regarding arrays by showing array contents rather than reference info MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998010#comment-12998010 ] Knut Anders Hatlen commented on DERBY-5061: ------------------------------------------- I think the idiom Arrays.asList(array).toString() would work on 1.4 and do more or less the same thing as Arrays.toString(array). > [patch] make descriptive messages better regarding arrays by showing array contents rather than reference info > -------------------------------------------------------------------------------------------------------------- > > Key: DERBY-5061 > URL: https://issues.apache.org/jira/browse/DERBY-5061 > Project: Derby > Issue Type: Improvement > Components: Network Server > Affects Versions: 10.7.1.1 > Reporter: Dave Brosius > Priority: Trivial > Fix For: 10.8.0.0 > > Attachments: better_messages_w_arrays.diff > > Original Estimate: 1h > Remaining Estimate: 1h > > various spots in the code strings are generated for debug - level info with the value of arrays. > However, the information generated is just the array's reference not the array content. > patch changes this to the array contents. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira