Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B57811F3B for ; Fri, 2 May 2014 22:38:01 +0000 (UTC) Received: (qmail 48130 invoked by uid 500); 2 May 2014 22:37:56 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 48010 invoked by uid 500); 2 May 2014 22:37:56 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 48002 invoked by uid 99); 2 May 2014 22:37:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2014 22:37:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.192.45] (HELO mail-qg0-f45.google.com) (209.85.192.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 May 2014 22:37:50 +0000 Received: by mail-qg0-f45.google.com with SMTP id a108so5425333qge.32 for ; Fri, 02 May 2014 15:37:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=KqKpGRnIIfxK8QJ6zzEnkhnY803XsPV7cXbciICK1aM=; b=aX+yU1Zx8WuMJqrQNUmsBFqY8OJkQ1QRn19mdg6YSyQUjBWLMhzeNwDZvSGIkXBAv2 8GgYJ6xNFWc9EfLrb3Gbbu9Twf2nkuIPNCBj9Y0dde57HCfNnvlvUAcHLDUdGjs2daXe QHUmV+ykX/JhW49YdOcrn9WXRZ/LWyX7ZFGf93I0tTaIHH6DCuIRvKSaznU0p92k2RMY qB1JR4uoapIK4LbyRDY7wiuemg/npQIMkLXUqmCeJVN7mbp7KJ/cUOesi8YHRvZJ3mhq u3jh2Zfe6DgN2h99Fe/BzoZYfUSqJ4ZngwW0/4Piz8aFLBQKXAwII8woXHoOBXr0dzDh mkkQ== X-Gm-Message-State: ALoCoQlr7XAflFSktjZLpQIHpD3a/s7vrsGo2SZaNozGlt5RMRNX9uB2onLeE64Y4fXhspdjYr3H X-Received: by 10.224.24.66 with SMTP id u2mr8387577qab.84.1399070247684; Fri, 02 May 2014 15:37:27 -0700 (PDT) Received: from localhost (HSI-KBW-37-209-111-144.hsi15.kabel-badenwuerttemberg.de. [37.209.111.144]) by mx.google.com with ESMTPSA id x5sm683886qaj.9.2014.05.02.15.37.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 May 2014 15:37:27 -0700 (PDT) Date: Sat, 3 May 2014 00:37:25 +0200 From: Bernd Eckenfels To: Commons Developers List Cc: Schalk =?ISO-8859-1?Q?Cronj=05=05=E9?= Subject: Re: [VFS] JDK 8 & 2.1-SNAPSHOT Message-ID: <20140503003725.0000437d.ecki@zusammenkunft.net> In-Reply-To: <53638105.7090104@gmail.com> References: <53638105.7090104@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello, I opened VFS-521 for this, and it looks like the problem is in try-with-resource in Java8 FilterOutputStream. The test in question is expected to fail with an IOException. Gruss Bernd Am Fri, 02 May 2014 12:27:01 +0100 schrieb Schalk Cronj=05=05=E9 : > Does anyone else have failures building VFS 2.1 with JDK8 (SVN rev > 1591869)? >=20 > I am seeing this test failure building on Mac. >=20 > -------------------------------------------------------------------------= ------ > Test set: > org.apache.commons.vfs2.provider.ram.test.CustomRamProviderTest > -------------------------------------------------------------------------= ------ > Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.012 > sec <<< FAILURE! - in > org.apache.commons.vfs2.provider.ram.test.CustomRamProviderTest > testSmallFS(org.apache.commons.vfs2.provider.ram.test.CustomRamProviderTe= st) > Time elapsed: 0.007 sec <<< ERROR! > java.lang.IllegalArgumentException: Self-suppression not permitted at > org.apache.commons.vfs2.provider.ram.RamFileObject.resize(RamFileObject.j= ava:277) > at > org.apache.commons.vfs2.provider.ram.RamFileOutputStream.write(RamFileOut= putStream.java:68) > at > java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) > at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) > at > org.apache.commons.vfs2.util.MonitorOutputStream.flush(MonitorOutputStrea= m.java:114) > at java.io.FilterOutputStream.close(FilterOutputStream.java:158) at > org.apache.commons.vfs2.util.MonitorOutputStream.close(MonitorOutputStrea= m.java:54) > at > org.apache.commons.vfs2.provider.DefaultFileContent$FileContentOutputStre= am.close(DefaultFileContent.java:711) > at > org.apache.commons.vfs2.provider.ram.test.CustomRamProviderTest.testSmall= FS(CustomRamProviderTest.java:264) >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org