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 140DF200B4A for ; Wed, 20 Jul 2016 21:33:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1274E160A64; Wed, 20 Jul 2016 19:33:00 +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 34A6C160A5B for ; Wed, 20 Jul 2016 21:32:59 +0200 (CEST) Received: (qmail 62916 invoked by uid 500); 20 Jul 2016 19:32:58 -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 62899 invoked by uid 99); 20 Jul 2016 19:32:58 -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; Wed, 20 Jul 2016 19:32:58 +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 5854D1888FF for ; Wed, 20 Jul 2016 19:32:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.702 X-Spam-Level: X-Spam-Status: No, score=-0.702 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=cloudera-com.20150623.gappssmtp.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 1U1gp3H3qQuo for ; Wed, 20 Jul 2016 19:32:54 +0000 (UTC) Received: from mail-qk0-f172.google.com (mail-qk0-f172.google.com [209.85.220.172]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 3A6D56124C for ; Wed, 20 Jul 2016 19:32:54 +0000 (UTC) Received: by mail-qk0-f172.google.com with SMTP id o67so54935956qke.1 for ; Wed, 20 Jul 2016 12:32:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=pvi4EwGl9ibYT+N+wx2JKpDoGOTZQJYJoG7eQnsbtMg=; b=FpX+n6/irSlY95GCbQ37lte44MyAMtY4Af3qHMrgk4b8NEYxHBmhLnE93O7Oda0Xkw OTkoVywm1pAY4fBL80L4GQ9XrtvzUc5tPVcNk53x6nwubk1UMZDbXWuU1A/4zODE/+bj f6ToEJSpPw7pbekyRplnngjWwygGcGDvtyLoRkDhli+3Z17jb87vvn2nXERbtSXfwaVq Fmk0VwoOrAVAxtM+DdKM/azXONqX5CvM+xqWctZP79vi04IUTFShkAsjradrsF5DtFr/ GuC/pDFXGgZ2uXXlhPY/ersuqMzv0Y0/wulV9poq4EZb6iBUxYeoLEWRtUA3DXKLER67 2RFg== 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=pvi4EwGl9ibYT+N+wx2JKpDoGOTZQJYJoG7eQnsbtMg=; b=iL7sZFeQkVNO01/+gmw4fGKExMJ+C1TXx4LfVV1kySOGTuoe65DGZ7ahJZWP+QJsIk wIOtsy8EQrQtGAaZWRNGFUBuXRHiT7JoW5rxyAGnz00MXJMns/NAzo6ffbeyTGvg35Ob BTMDNsD8SkHpuO6wJ1PGwxT4uY7ALVnZZ4mHXojWMppUtYwfaYU8o9lyOsoF11sKB15u +x05g5OGxul7XpzMb3NgoIgLHiyNWZQZPCwQxjSFU2lvtXRzIOqcHElWo7XHxxIo5L1O YM6N7EedAMQjnkgS2GSeQ4KwvMbNGXsBskA2Eyh2xndaLE4zYNGItqeYM7trCPnXTLfW BgPw== X-Gm-Message-State: ALyK8tJnGJU3s/h2WvP04WfXBhq2g8gSe43OtuiMdsPgbpnmKS0Zq7GaScIBYPDQv224mrM7Uhgwm/JdUEUeHO6r X-Received: by 10.55.114.69 with SMTP id n66mr61799066qkc.2.1469043165160; Wed, 20 Jul 2016 12:32:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.55.4 with HTTP; Wed, 20 Jul 2016 12:32:25 -0700 (PDT) In-Reply-To: References: <251681951.8292671.1469014867182.JavaMail.zimbra@comcast.net> From: Sean Busbey Date: Wed, 20 Jul 2016 14:32:25 -0500 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 19:33:00 -0000 We can also rely on nightly builds against jdk versions installed on ASF jenkins to catch incorrect api usage. On Wed, Jul 20, 2016 at 9:45 AM, Benson Margulies wrote: > On Wed, Jul 20, 2016 at 10:41 AM, Keith Turner wrote: >> On Wed, Jul 20, 2016 at 9:34 AM, Benson Margulies >> wrote: >> >>> 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. >>> >>> >> Thanks for the tip! Animal sniffer seems like it will solve the problem of >> building using JDK8. > > The bootclasspath is stronger, but takes more arrangements. You need a > way to get the 1.7 rt.jar in the picture without getting tangled up in > IP issues. > > > >> >> >>> >>> 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. >>> >> >>> >> >>> -- busbey