Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 96061 invoked from network); 18 Mar 2009 15:42:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2009 15:42:00 -0000 Received: (qmail 39787 invoked by uid 500); 18 Mar 2009 15:41:59 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 39748 invoked by uid 500); 18 Mar 2009 15:41:59 -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 39737 invoked by uid 99); 18 Mar 2009 15:41:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2009 08:41:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of t.p.ellison@gmail.com designates 209.85.219.161 as permitted sender) Received: from [209.85.219.161] (HELO mail-ew0-f161.google.com) (209.85.219.161) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2009 15:41:49 +0000 Received: by ewy5 with SMTP id 5so85514ewy.36 for ; Wed, 18 Mar 2009 08:41:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=DWJIMz+BHBQgyz/B84ow7ojBJmYJ6ah0ZK7nCXBDfzs=; b=LLTgrt8st7zNT3Hpshyi7yVXFOHwzA9jrLz9+mjNsiz7wbkPe10wV50VZqdPUaRQQ9 QW0KsbGnfHYbbD09Bysi6ndZnGGGKViN00KKJYkBg51tJ95r3CE8J2Q1isjFqtJ9gwfO xZ4YNnYmTTTU1mmqCGfmglONM4B+kSCUkK7ms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=ETh9WSN+zo0456srBZRcIpTiMuW6yPsNl0C8BIyRhsYY1yUNDIqoVmMV49G8kx+Jnl jehLuK+PGvVOc6UfXTK4SUhL9ahZmNtXbEBlga69FXs6kZRV8H4wtLz+4m08Ko7cp60+ dOsdVODqri+Ltqtrc1ztFH/FONaxGR22zdvdE= Received: by 10.216.10.208 with SMTP id 58mr265516wev.82.1237390889584; Wed, 18 Mar 2009 08:41:29 -0700 (PDT) Received: from ?9.20.183.191? (blueice1n1.uk.ibm.com [195.212.29.67]) by mx.google.com with ESMTPS id 35sm398403nfu.47.2009.03.18.08.41.29 (version=SSLv3 cipher=RC4-MD5); Wed, 18 Mar 2009 08:41:29 -0700 (PDT) Message-ID: <49C11628.8000804@gmail.com> Date: Wed, 18 Mar 2009 15:41:28 +0000 From: Tim Ellison User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: [M9] Testing - outstanding issues References: <49BF3858.5080503@gmail.com> <49BFD516.6030602@gmail.com> <49C09DF0.1050000@gmail.com> <49C0EB0B.9060805@gmail.com> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the review... Sian January wrote: > The patch looks fine for this case, but if I was being picky I would > wonder if we also need to throw an IOException for an infinite stream > that does contain '\n' characters as well as for one that doesn't? The RI runs forever on a stream of '\n's and we run up to an OutOfMemoryException. It's such a contrived case that I really don't think we need to hang forever too to match the behavior. > Also is '\n' ok to use across all platforms or should it be something > like System.getProperty(line.separator)? The manifest format spec says: newline : CR LF | LF | CR (not followed by LF) so I'll change the containsLine test to be if (buffer[i] == 0x0A || buffer[i] == 0x0D) { Sounds reasonable? Thanks again, Tim > 2009/3/18 Tim Ellison : >> Sian January wrote: >>> 2. org.apache.harmony.archive.tests.java.util.jar.ManifestTest fails >>> on Windows XP [Tim is working on this] >> I have a proposed patch ready for this problem, see >> >> https://issues.apache.org/jira/browse/HARMONY-6121 >> >> it's not a one-liner, so I'd appreciate another set of eyeballs on it >> before nominating it as a commit into M9. >> >> Thanks, >> Tim >> >> > > >