Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 77873 invoked from network); 28 Mar 2008 15:03:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2008 15:03:06 -0000 Received: (qmail 1346 invoked by uid 500); 28 Mar 2008 15:03:04 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 1035 invoked by uid 500); 28 Mar 2008 15:03:03 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 1026 invoked by uid 99); 28 Mar 2008 15:03:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2008 08:03:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alexei.zakharov@gmail.com designates 209.85.146.180 as permitted sender) Received: from [209.85.146.180] (HELO wa-out-1112.google.com) (209.85.146.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Mar 2008 15:02:23 +0000 Received: by wa-out-1112.google.com with SMTP id k22so357413waf.18 for ; Fri, 28 Mar 2008 08:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=cKadPjC6j2m9cfstQlyuJFldQxuQiGmspnXOTWes9f8=; b=AlaoqjEZWfGgOZfh3dH6o6rlUpEuQ8iARSAYiFyLdhABnV67e8I5W2QUyUU3tGba4ity5LTQGUC54aezRTVIskN11648H1ChT7FUccGbHHn3jyVMqxtWqzzM/yzr/McTZf7fo9bQacyrqjdclk2sJbdD1sI+c7xrvU4v61wNBRE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dD6cDVqp0Flr4pPeZcB/21FUktc2llSttSmmIxghhf6GrSeBZefUr65ZoeGoeuQiBXjV4Mb0aK4SzBc2vVq2JbeKO2MwEkOZJu8ufrhUBXHRQFPj6NRmKVaEM0Nf21VONy6Yv8Qh4Ugymagpqo2zJLrKZUYvlMg9rf7IyYZQkMU= Received: by 10.114.168.1 with SMTP id q1mr3890483wae.74.1206716553796; Fri, 28 Mar 2008 08:02:33 -0700 (PDT) Received: by 10.114.198.16 with HTTP; Fri, 28 Mar 2008 08:02:33 -0700 (PDT) Message-ID: <2c9597b90803280802s16dbd1e6qb5863be6de583db8@mail.gmail.com> Date: Fri, 28 Mar 2008 18:02:33 +0300 From: "Alexei Zakharov" To: dev@harmony.apache.org Subject: Re: [classlib][archive] Non-UTF8 character in manifest during confluence startup (HARMONY-5662) In-Reply-To: <2c9597b90803280706g3b69c29h86775dff84e3b559@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1431279284.1206700704804.JavaMail.jira@brutus> <47ECD57D.6050202@gmail.com> <47ECD970.3080801@gmail.com> <2c9597b90803280515o4005947w2207b63f61cfdf5f@mail.gmail.com> <2c9597b90803280706g3b69c29h86775dff84e3b559@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Seems my attachment was lost. Please it attached to HARMONY-5662. Thanks, Alexei 2008/3/28, Alexei Zakharov : > Looks like I found the guilty manifest, please see attached. It is > from "concurrent-1.3.4-patched.jar" that is part of confluence 2.7.1 > distribution. You may notice that this manifest was created via gcc > (?) and follows best practices for all strings in C language - ends > with '\0'. So we get a null-terminated manifest here. :-/ > > Can we avoid throwing exception in such cases? > > > Regards, > Alexei > > 2008/3/28, Alexei Fedotov : > > Alexei, > > Could you please dump "buf" buffer from InitManifest constructor to > > check if it really contains a null character? If it does, we should > > think how to ignore it smoothly. > > > > Thank you in advance. > > > > > > On Fri, Mar 28, 2008 at 3:15 PM, Alexei Zakharov > > wrote: > > > I'd like to note here that I don't remember any problems with > > > manifests loading during confluence startup a couple of months ago > > > (however, there were other problems). It looks like manifest parsing > > > routines were significantly updated since then. > > > > > > Regards, > > > Alexei > > > > > > 2008/3/28, Alexei Fedotov : > > > > > > > > > > Alexei's problem (introduced by a patch from [1]) is fixed in my code. > > > > He faced another one though. > > > > > > > > [1] http://issues.apache.org/jira/browse/HARMONY-5473 > > > > > > > > > > > > > > > > > > > > On Fri, Mar 28, 2008 at 2:41 PM, Tim Ellison wrote: > > > > > Tim Ellison wrote: > > > > > > I just committed code in this area (at r641928) so it may indeed be a > > > > > > regression. Looking... > > > > > > > > > > Sorry Alexei, just noticed that your version under test was r640865. > > > > > > > > > > Given the recent changes is it possible for you to retry on a later > > > > > version >r641928 since the failing code has been replaced. > > > > > > > > > > Thanks, > > > > > Tim > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > With best regards, > > > > > > > > Alexei > > > > > > > > > > > > > > > > > -- > > With best regards, > > > > Alexei > > > >