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 6BAB0200B4A for ; Wed, 20 Jul 2016 15:34:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6A1F0160A64; Wed, 20 Jul 2016 13:34:59 +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 B3AB8160A5B for ; Wed, 20 Jul 2016 15:34:58 +0200 (CEST) Received: (qmail 56418 invoked by uid 500); 20 Jul 2016 13:34:57 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 56406 invoked by uid 99); 20 Jul 2016 13:34:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2016 13:34:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3BDF41A5506 for ; Wed, 20 Jul 2016 13:34:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 7F0v72ONbsB3 for ; Wed, 20 Jul 2016 13:34:55 +0000 (UTC) Received: from mail-it0-f53.google.com (mail-it0-f53.google.com [209.85.214.53]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id B28AB5F2C3 for ; Wed, 20 Jul 2016 13:34:54 +0000 (UTC) Received: by mail-it0-f53.google.com with SMTP id j124so50196781ith.1 for ; Wed, 20 Jul 2016 06:34:54 -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=uyRbMPNsMyMOto684Vj4yMnMOV2SnNnZK3kaCuyq5HI=; b=z4xzUZbxFj1P+cXQNqxmuAHG+OiC1EiOshQx3SK6cjjNFRDJA/L1mmey8xmnFXFfDn sctw5bwk/pqcxf9mucwtK6te5DePnwE8cMggqtPyPEy/7Ng4b83gbZGemzTnHDQ1ZrS+ iLSN0g0htqrrsQSgY+oqlMpUFtM+ukr2Af8rShR5G4MnsDvAUr3b5BYwyLgodZcNEXoY cuDIDZQC25xt0mrQag9JZnHOMk7/U+L0LIhRW5M/lhem/ALoUBvseAHN0aucyBSjHlKv rCJrqWrzAoHK5XkMYeOeEHtE3y/wzJz2wxXpMRsnRFYCslxpdQO0tLkR/7hKw7XW+Yb3 4Vww== 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=uyRbMPNsMyMOto684Vj4yMnMOV2SnNnZK3kaCuyq5HI=; b=coY9dUzIXpuFK9efQ6c2f1Mr+gWWVFUQfsbEI8SZya3cCyCeUClJM2REeQQeW3rBju MgOtUvDaWukmrxd4EpTOKTtqAuNg/NfE4L6ptt4Hl0KVgwmC7fqHDxMDODKEd4jqfl34 Q5lmVg9zGkLaxjQ+gPD4VFhlswaib2Ak13apYGX8F9KI5a3gUF7C4VcwefEGg4Rlt3gJ ABiLsUGPb3tF+vc+tVbR3NuUmJKXwv8xoVkt/lCXYwkusaVA7IL2aUiJrr6dFg+HQrv8 FrZnixTFM+PyeNuYIZl/esvn2EbjEn3v+2A1EmC0zZY3SL4eC/nC1/TIq1AYVEjrFGqk oTPA== X-Gm-Message-State: ALyK8tKeztdycwEc77Dql8bCrK0qrUgrNIeyzL725B9LS31mvs5mTYzDpi9BkRyvj2DnKCe25K3oSwnLJlEWgQ== X-Received: by 10.36.103.214 with SMTP id u205mr17439itc.88.1469021687203; Wed, 20 Jul 2016 06:34:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.184.170 with HTTP; Wed, 20 Jul 2016 06:34:46 -0700 (PDT) In-Reply-To: References: <251681951.8292671.1469014867182.JavaMail.zimbra@comcast.net> From: Benson Margulies Date: Wed, 20 Jul 2016 09:34:46 -0400 Message-ID: Subject: Re: [OT] Can no longer obtain JDK6/JDK7 tarballs To: "dev@accumulo.apache.org" Content-Type: text/plain; charset=UTF-8 archived-at: Wed, 20 Jul 2016 13:34:59 -0000 Add the use of the animal sniffer plugin and/or the bootclasspath option to the maven-compiler-plugin to force the use of only 1.7 apis. On Wed, Jul 20, 2016 at 9:13 AM, Keith Turner wrote: > On Wed, Jul 20, 2016 at 7:41 AM, wrote: > >> Can't you use JDK8 and keep the source and target at 1.7? >> > > Yes, but I think developers can accidentally use methods introduced in > 1.8. If TreeMap.foo() only exists in Java 1.8 and someone uses it (in a > 1.7 source compatible way), then the code will compile to 1.7 class files. > However, it will not actually run in 1.7 jre. > > I suspect most developers are using JDK8. So unless someone does a build > with JDK 1.7 before release, these problems will go undetected. > Christopher is trying to setup jenkins with multiple JDKs to do these > builds. > > Is running jenkins on Centos 6 an option? Then maybe Centos6 has OpenJDK6 > and 7?? And can download Sun JDK8 for Centos 6. > > >> ----- Original Message ----- >> >> From: "Christopher" >> To: "Accumulo Dev List" >> Sent: Tuesday, July 19, 2016 6:22:58 PM >> Subject: [OT] Can no longer obtain JDK6/JDK7 tarballs >> >> I know we've discussed moving to JDK8 before, and we've moved the master >> branch, which is expected to be 2.0.0. >> >> However, I'm trying to get the tarball for JDK7, so I can do development on >> older Accumulo branches while guaranteeing I don't do anything which will >> only work in JDK8. >> >> Unfortunately, OpenJDK does not provide tarballs to download, as far as I >> can tell. They work with downstream systems for packaging, but my OS does >> not package end-of-life (EOL) JDKs. >> >> So, I have to use the Oracle JDK tarball for JDK7. Unfortunately, Oracle >> requires users to register to download EOL packages, and registration >> requires users to provide a lot of details about themselves, their home >> address, and their employment (required as part of the registration/terms >> of use). I'm unhappy and reluctant to disclose all that to Oracle (I'm not >> confident about their privacy practices). >> >> The alternative is to use an RPM for OpenJDK from another Linux distro, but >> that will probably not work outside the system it was designed for, and >> would probably conflict with my installed JDK8 rpm. >> >> So, now it seems I'm screwed a bit, and can't do development in a "pure" >> JDK7 JAVA_HOME on my modern OS. This is frustrating. Has anybody else run >> into this yet? What's your solution? >> >> I'm half tempted to suggest we require Java 8 for all future releases, >> because of the difficulty of trying to guarantee support for older versions >> of Java when the EOL java versions are so increasingly difficult to >> obtain... but I know that probably wouldn't go over very well. >> >>