Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 89859 invoked from network); 24 Aug 2000 11:31:34 -0000 Received: from unknown (HELO ?195.115.98.1?) (195.115.98.1) by locus.apache.org with SMTP; 24 Aug 2000 11:31:34 -0000 Received: from mail.imediation.com by [195.115.98.1] via smtpd (for locus.apache.org [63.211.145.10]) with SMTP; 24 Aug 2000 12:31:47 UT Received: (private information removed) From: Sebastien Sahuc Date: Thu, 24 Aug 2000 11:31:30 GMT Message-ID: <20000824.11313000@sahuc-s.imediation.com> Subject: [C2] bug in Javac.parseClassicError() on Windows system To: cocoon-dev@xml.apache.org X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N The class=20 org.apache.cocoon.components.language.programming.java.Javac have a bug in method=20 CompileError parseClassicError(String error) Indeed in Windows the error String will looks like : C:\cocoon\WEB-INF\[...] whereas in UNIX it will be : /usr/cocoon/WEB-INF Though the method is constructing a StringTokenizer based on the=20 separator ':' which causes NumberFormatException in Windows (line 177 of= =20 Javac) by tryin g to convert into integer the following string=20 '\cocoon\WEB-INF\[...]' All the best, Sebastien