Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 47687 invoked from network); 10 Apr 2011 15:06:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Apr 2011 15:06:44 -0000 Received: (qmail 17142 invoked by uid 500); 10 Apr 2011 15:06:43 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 17072 invoked by uid 500); 10 Apr 2011 15:06:43 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 17063 invoked by uid 99); 10 Apr 2011 15:06:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Apr 2011 15:06:43 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of knst.kolinko@gmail.com designates 209.85.220.173 as permitted sender) Received: from [209.85.220.173] (HELO mail-vx0-f173.google.com) (209.85.220.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Apr 2011 15:06:37 +0000 Received: by vxb41 with SMTP id 41so5358337vxb.18 for ; Sun, 10 Apr 2011 08:06:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=uhKWxXOwgifrvvEvA7i8gnEfGdcAk229vapO0hiFz7k=; b=m9154z/OZunqlE2g3XXiS87YXB+t2wx+9zBqlIstge51rtC8Wv4BValq7DMxQlYjni BJTCdc4+xN2pK03oZzIaEGIAuIIiKioAdIuic+2fKAsxVGt9V8dzhfG9VK1rYEszorJL 1YxZUM6KlLm4n20DGMczEVRszgdmmnM6knOtc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=or3psGIA8lHThrjKSARwABYzL/KNQByucsXS+o1eoXvy99pQ6MDUho1r4rm+9v+Jf+ PZ2RSm0OZeTdA7MJhB0cK1yKiAjzrZLxSCbtfQNPL7lWIw1kdzb667mXYh9/zfwBzSah wnU/7RG+4D530v5hN45AiMrMKfkJ9V49CjtmQ= MIME-Version: 1.0 Received: by 10.52.99.199 with SMTP id es7mr6031292vdb.194.1302447976353; Sun, 10 Apr 2011 08:06:16 -0700 (PDT) Received: by 10.52.168.98 with HTTP; Sun, 10 Apr 2011 08:06:16 -0700 (PDT) In-Reply-To: <20110410103330.F054C23889D5@eris.apache.org> References: <20110410103330.F054C23889D5@eris.apache.org> Date: Sun, 10 Apr 2011 19:06:16 +0400 Message-ID: Subject: Re: svn commit: r1090763 - in /tomcat/trunk: java/org/apache/jasper/compiler/DefaultErrorHandler.java webapps/docs/changelog.xml From: Konstantin Kolinko To: Tomcat Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 2011/4/10 : > Author: markt > Date: Sun Apr 10 10:33:30 2011 > New Revision: 1090763 > > URL: http://svn.apache.org/viewvc?rev=3D1090763&view=3Drev > Log: > Improve error reporting by labeling line/column numbers This contradicts with i18n of errMsg. If you are making this more human-readable, maybe add a whitespace before "(" in "(line" > > Modified: > =A0 =A0tomcat/trunk/java/org/apache/jasper/compiler/DefaultErrorHandler.j= ava > =A0 =A0tomcat/trunk/webapps/docs/changelog.xml > > Modified: tomcat/trunk/java/org/apache/jasper/compiler/DefaultErrorHandle= r.java > URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/com= piler/DefaultErrorHandler.java?rev=3D1090763&r1=3D1090762&r2=3D1090763&view= =3Ddiff > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- tomcat/trunk/java/org/apache/jasper/compiler/DefaultErrorHandler.java= (original) > +++ tomcat/trunk/java/org/apache/jasper/compiler/DefaultErrorHandler.java= Sun Apr 10 10:33:30 2011 > @@ -38,8 +38,8 @@ class DefaultErrorHandler implements Err > =A0 =A0 @Override > =A0 =A0 public void jspError(String fname, int line, int column, String e= rrMsg, > =A0 =A0 =A0 =A0 =A0 =A0 Exception ex) throws JasperException { > - =A0 =A0 =A0 =A0throw new JasperException(fname + "(" + line + "," + col= umn + ")" > - =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0+ " " + errMsg, ex); > + =A0 =A0 =A0 =A0throw new JasperException(fname + "(line: " + line + ", = column: " + > + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0column + ")" + " " + errMsg, ex); > =A0 =A0 } > > =A0 =A0 /* > > Modified: tomcat/trunk/webapps/docs/changelog.xml > URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml= ?rev=3D1090763&r1=3D1090762&r2=3D1090763&view=3Ddiff > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- tomcat/trunk/webapps/docs/changelog.xml (original) > +++ tomcat/trunk/webapps/docs/changelog.xml Sun Apr 10 10:33:30 2011 > @@ -57,9 +57,9 @@ > =A0 =A0 =A0 =A0 separated by commas. (kkolinko) > =A0 =A0 =A0 > =A0 =A0 =A0 > - =A0 =A0 =A0 =A050306: New StuckThreadDetectionValve to detec= t requests that take a > - =A0 =A0 =A0 =A0long time to process, which might indicate that their pr= ocessing threads are > - =A0 =A0 =A0 =A0stuck. Based on a patch provided by TomLu. (slaurent) > + =A0 =A0 =A0 =A050306: New StuckThreadDetectionValve to detec= t requests that > + =A0 =A0 =A0 =A0take a long time to process, which might indicate that t= heir processing > + =A0 =A0 =A0 =A0threads are stuck. Based on a patch provided by TomLu. (= slaurent) > =A0 =A0 =A0 > =A0 =A0 > =A0 > @@ -71,6 +71,14 @@ > =A0 =A0 =A0 > =A0 =A0 > =A0 > + =A0 > + =A0 =A0 > + =A0 =A0 =A0 > + =A0 =A0 =A0 =A0Label JSP/tag file line and column numbers when reportin= g errors since > + =A0 =A0 =A0 =A0it may not be immediately obvious what the numbers repre= sent. (markt) > + =A0 =A0 =A0 > + =A0 =A0 > + =A0 > =A0 > =A0 =A0 > =A0 =A0 =A0 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org