Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4324E200B2A for ; Sat, 25 Jun 2016 22:47:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 41EAC160A66; Sat, 25 Jun 2016 20:47:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8875A160A49 for ; Sat, 25 Jun 2016 22:47:41 +0200 (CEST) Received: (qmail 90999 invoked by uid 500); 25 Jun 2016 20:47:40 -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 90987 invoked by uid 99); 25 Jun 2016 20:47:40 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jun 2016 20:47:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D55ED180651 for ; Sat, 25 Jun 2016 20:47:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 4vCWsMrq6EYP for ; Sat, 25 Jun 2016 20:47:37 +0000 (UTC) Received: from mail-oi0-f43.google.com (mail-oi0-f43.google.com [209.85.218.43]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 3C60A5F39E for ; Sat, 25 Jun 2016 20:47:37 +0000 (UTC) Received: by mail-oi0-f43.google.com with SMTP id f189so157234009oig.3 for ; Sat, 25 Jun 2016 13:47:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=YWlmMx0pUrI1jByWS4sDTRIOinAFRshg7VlsO+ZkINQ=; b=baEwFfQoArWYDF/HqKLkI/BO+KaxLEfUouPP5j/c5K9zPk0dZJ6cBhOWUd5J8Zed3m 4L94jtv5eXwe9fLqBji7Zc2IltZ1zMGv1XFEvic3JUSRLlbwQMHr8DdtKvZsrha8WpDg u2TCYD8jneMbQG090In4GsqFWAoXzT5Gwapy7Fxqm3+Jpug+C3ky8sEC38Vbz68faO2V pFb+VerGrISAD0N5nu/jvP//HxOLEPYzRjzIjzEJe6QHeRaD8Xq3LBgP7S6/IipSp0nl uQMzu+NZe6dB+iSYTLrVf2gmNW4mmOpNOVn1eMHfQ11t5y68+JBk5p1aOayO/qRAo2fU MNPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=YWlmMx0pUrI1jByWS4sDTRIOinAFRshg7VlsO+ZkINQ=; b=XJqysybirwqDkFiDMdOMOYPuFzt15+YZGFt5WNXkttfV4r+MJnWJSsTO/aEYsUogqj bm6EDPWuUIL+awIv3mXm8uLSwmF4gGJM5aaZ9azpSM6cVNxnx7iLCX9LLJWjdLG6XeFR K2GLLrtWv3HLESFHhXJe19fFeXqbfwTEtAqgM6VMc2ZsDRGQlILNTmkOYPfsKoKbtzcS fVlmvNSn2SjpqG+h7fUtKX9dWsJO9hqHWMjYSTOsH6fgz6MFjnintAdHD6csqHWW68w7 07Nc2yMXDc/ECLfr538gxRvnrXZepb2FBREGqVnoJWWFHHtSKgCroL0AnVkCXayRNLEo uJEA== X-Gm-Message-State: ALyK8tIKKNaizI8h1NZI3kLgn4rbaNqWLuuRwk9ni2KzHuN2HsCcGdaS7Zq459wiAXszUPb1FOct58k6SarFPA== X-Received: by 10.202.114.11 with SMTP id p11mr6929073oic.183.1466887656405; Sat, 25 Jun 2016 13:47:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.9.8 with HTTP; Sat, 25 Jun 2016 13:47:36 -0700 (PDT) In-Reply-To: References: <87oa6qlof9.fsf@v45346.1blu.de> From: Gary Gregory Date: Sat, 25 Jun 2016 13:47:36 -0700 Message-ID: Subject: Re: [compress] Update to Java 7? To: Commons Developers List Content-Type: multipart/alternative; boundary=001a1134f114af832605362065f4 archived-at: Sat, 25 Jun 2016 20:47:42 -0000 --001a1134f114af832605362065f4 Content-Type: text/plain; charset=UTF-8 I updated the POM to Java 7 in Git master. Gary On Fri, Jun 24, 2016 at 6:48 AM, Stian Soiland-Reyes wrote: > I don't think we should need that strong arguments to go to Java 7. > Remember being "stuck in the past" with older syntax also puts off > potential new contributors and eventually causes code rot. E.g. > Commons Compress is very InputStream-centric, and so a > try-with-resources could be quite good to simplify the code - arguably > mainly the tests. > > Being able to upgrade ZipFile to support SeekableByteChannel and > java.nio.file.Path sounds like a good motivation to me. > > > We should still be more careful about upgrading to Java 8, but I think > Java 7 should be the expected minimum. > > On 24 June 2016 at 14:14, Stefan Bodewig wrote: > > On 2016-06-24, Gary Gregory wrote: > > > >> Hi, > > > >> I was looking at some compress code that I wanted to update to > >> switch-on-string but realized the code is still on Java 6. > > > > "still" means 1.12 has been the first release to require Java 6 - 1.11 > > was at Java 5 :-) > > > >> OK to bump to Java 7? > > > > If it is useful for us, yes. > > > > try-with-resources is nice but wouldn't convince me. SeekableByteChannel > > to make ZipFile and SevenZFile usable for non-Files would. > > > > Stefan > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > > For additional commands, e-mail: dev-help@commons.apache.org > > > > > > -- > Stian Soiland-Reyes > Apache Taverna (incubating), Apache Commons > http://orcid.org/0000-0001-9842-9718 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > -- E-Mail: garydgregory@gmail.com | ggregory@apache.org Java Persistence with Hibernate, Second Edition JUnit in Action, Second Edition Spring Batch in Action Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory --001a1134f114af832605362065f4--