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 9C0C5200C65 for ; Sat, 29 Apr 2017 17:59:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9A8BE160BA9; Sat, 29 Apr 2017 15:59:48 +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 BAB6A160BA0 for ; Sat, 29 Apr 2017 17:59:47 +0200 (CEST) Received: (qmail 64943 invoked by uid 500); 29 Apr 2017 15:59:46 -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 64930 invoked by uid 99); 29 Apr 2017 15:59:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Apr 2017 15:59:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1F9C5C036F for ; Sat, 29 Apr 2017 15:59:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.396 X-Spam-Level: X-Spam-Status: No, score=-0.396 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id OjtCC3k1DfTF for ; Sat, 29 Apr 2017 15:59:43 +0000 (UTC) Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id E010D5FB3D for ; Sat, 29 Apr 2017 15:59:42 +0000 (UTC) Received: by mail-oi0-f48.google.com with SMTP id y11so54858038oie.0 for ; Sat, 29 Apr 2017 08:59:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=jpmjHu+HHhZl0OHg0xyTvUO+A6E9zOvkZfjC1CMzNik=; b=Sv4tnc8AKjvdQceed5aIlEz+7rbfyKACHK4yLl/r3XdSUV8WdiqwVRULiBjQDd/lSl d7dtf+zp4/u4c49uOkcaN3sf23W8LlTIvoUXsfVxTRWyyoBIhq4KhLn1iqJVDSkruKv1 G2dY1P8wZxuC4fLW6/VkRwpgcQyT92XgjCjf1QLZCQgzQcBrvV/UmpBRFyYzj+nNEm1f 912m6e2CTJQTirLdFe5passGGpRktLehkMXj/o5FDW9/FQiDqbPhr88QP4JktuwxPQab NkZLzXPqQqce1LA23se080vPJ6gb5/eaXEwn1s6z0gw1e8a+um0QKKlRrcOFMKg9kPb4 DmIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=jpmjHu+HHhZl0OHg0xyTvUO+A6E9zOvkZfjC1CMzNik=; b=DJfaqAbupGBy6iNkMzQnRCBtUmBxiegZt+16QL8RVE7p8rjq4wPWvVGe+45JMRJfz3 ncdb8dtNtCjjmgI5AcXkjLSMZ+ebyCkKlzsFOPVnT9d7/4CCAJ5QQxQjk/NNeEJO7rZE S8MVUm9PZ+1M+Jc2Kz0MUxJ6wZIagZS6IbLgvCNLe5KohtdMbvjQIiLIXvJZdcMbOJ8i nWMm+N/x/HrZvYbLsdux5IkPmbyJrYxSBdkn4Y6rky1OxSmUz8P13z9jQZ+m5S6gtkuX JWfYl2LaiM7Ga4Ziy1CRqvDsAH0NOxb4qm1djLkPN/55Y1jpx2FI4S8Bpt1T5MK3xTvI ecUg== X-Gm-Message-State: AN3rC/656AeZaBrM0F+A4VC97UibefyVUbKkCQfUOeKDw9JiXjXAgj8Z 3E2lD6TPlvR2kk+QHV2lUcOJuaiXTkZh X-Received: by 10.202.179.87 with SMTP id c84mr6384473oif.151.1493481581530; Sat, 29 Apr 2017 08:59:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.56.18 with HTTP; Sat, 29 Apr 2017 08:59:40 -0700 (PDT) Received: by 10.157.56.18 with HTTP; Sat, 29 Apr 2017 08:59:40 -0700 (PDT) In-Reply-To: References: <818538892b96c35755a3a8dea9e79791@scarlet.be> <7867d32be1055a3232cd02c8eec677a3@scarlet.be> From: Gary Gregory Date: Sat, 29 Apr 2017 08:59:40 -0700 Message-ID: Subject: Re: [Numbers] Java version? To: Commons Developers List Content-Type: multipart/alternative; boundary=001a113cd1f42553d5054e5047ac archived-at: Sat, 29 Apr 2017 15:59:48 -0000 --001a113cd1f42553d5054e5047ac Content-Type: text/plain; charset=UTF-8 On Apr 29, 2017 6:47 AM, "Raymond DeCampo" wrote: Please note I wrote an issue concerning this last week or so. https://issues.apache.org/jira/browse/NUMBERS-21 I noticed when moving code from [math] to [numbers] that [math] targets 7. I had to make some minor downgrades in the code (use of diamond operator). Given that [math] targets Java 7 and [numbers] is based on it, I see no reason [numbers] shouldn't target 7 as well. Sounds fine with me. Gary On Fri, Apr 28, 2017 at 6:30 PM, sebb wrote: > On 28 April 2017 at 16:05, Matt Sicker wrote: > > If you're going to build for Java 6 using Java 7, then you should really > > use something like < > > http://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/> to > > prevent accidental usage of Java 7. > > And/Or actually use Java 6 to compile/test, which is pretty easy to do > using the -Pjava-1.6 profile. > > > On 28 April 2017 at 09:51, sebb wrote: > > > >> On 28 April 2017 at 13:01, Gilles wrote: > >> > Hi. > >> > > >> > On Thu, 27 Apr 2017 08:42:36 -0700, Gary Gregory wrote: > >> >> > >> >> On Apr 27, 2017 8:21 AM, "Gilles" > wrote: > >> >> > >> >> On Thu, 27 Apr 2017 10:10:57 -0500, Matt Sicker wrote: > >> >> > >> >>> Choosing Java 8 or 7 for a new component depends on the APIs you > want > >> to > >> >>> use for it more so than what's current. > >> >>> > >> >> > >> >> Indeed, the question could be rephrased as: Is there anything to > loose > >> >> (for a new component) if we allow the larger API of Java 8? > >> >> > >> >> > >> >> I hear people are still using Java > >> >>> > >> >>> 6, but I doubt those projects are adapting new libraries or > upgrading > >> any > >> >>> of their dependencies as it is... > >> >>> > >> >> > >> >> That has seemed logical to me for a long time... > >> >> > >> >> > >> >> +1 > >> >> > >> >> I say pick the version you think is best. > >> > > >> > > >> > At this point, I can't say exactly. > >> > The current code doesn't seem to need Java APIs beyond 6, but other > >> > utilities yet to be added might benefit. > >> > The only argument for leaving Java 6 is that we have to go through > >> > hoops with the Jenkins configuration. > >> > >> That is not an argument for upping the Java version > >> > >> > Currently it fails in a way that looks cryptic to me. > >> > >> That's because Jenkins now requires Java 7 to run Maven jobs, though > >> it does not seem to need it for all job types. > >> > >> > So, unless someone can fix it, I'll bump the dependency to Java 7. > >> > >> Huh? > >> Surely you can just tell Jenkins to use Java 7 to build and test? > >> There's no need for the source to be updated as well (there might be > >> some Javadoc warnings, I suppose, but those can be fixed without > >> compromising Java 6 compat.) > >> > >> But it's pretty easy to fix so it builds and tests using Java 6 - > >> which job is it? > >> > >> > Regards, > >> > Gilles > >> > > >> > > >> > > >> >> > >> >> Gary > >> >> > >> >> > >> >> Regards, > >> >> Gilles > >> >> > >> >> > >> >> On 27 April 2017 at 09:41, Gilles > wrote: > >> >>> > >> >>> > >> >>> On Thu, 27 Apr 2017 14:49:01 +0200, Gilles wrote: > >> >>>> > >> >>>> > >> >>>> Hi. > >> >>>>> > >> >>>>> > >> >>>>> The POM indicates: > >> >>>>> > >> >>>>> 1.6 > >> >>>>> 1.6 > >> >>>>> > >> >>>>> but also: > >> >>>>> > >> >>>>> (requires Java > 7+) > >> >>>>> > >> >>>>> Which is wrong? > >> >>>>> > >> >>>>> > >> >>>>> Also, please not that keeping 1.6 compatibility seems to > complicate > >> >>>> > >> >>>> the Jenkins configuration: > >> >>>> https://builds.apache.org/view/Apache%20Commons/job/Commons_ > >> >>>> Numbers/14/console > >> >>>> > >> >>>> For a new component, shouldn't we just go to Java 8? > >> >>>> > >> >>>> > >> >>>> Gilles > >> >>>> > >> > > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > >> > For additional commands, e-mail: dev-help@commons.apache.org > >> > > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > >> For additional commands, e-mail: dev-help@commons.apache.org > >> > >> > > > > > > -- > > Matt Sicker > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --001a113cd1f42553d5054e5047ac--