Return-Path: X-Original-To: apmail-spark-dev-archive@minotaur.apache.org Delivered-To: apmail-spark-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 996BD19A33 for ; Thu, 24 Mar 2016 17:06:30 +0000 (UTC) Received: (qmail 22510 invoked by uid 500); 24 Mar 2016 17:06:28 -0000 Delivered-To: apmail-spark-dev-archive@spark.apache.org Received: (qmail 22398 invoked by uid 500); 24 Mar 2016 17:06:28 -0000 Mailing-List: contact dev-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@spark.apache.org Received: (qmail 22290 invoked by uid 99); 24 Mar 2016 17:06:28 -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; Thu, 24 Mar 2016 17:06:28 +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 4889E1A1407 for ; Thu, 24 Mar 2016 17:06:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-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: spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id YfAUgGHWRc6B for ; Thu, 24 Mar 2016 17:06:24 +0000 (UTC) Received: from mail-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 4B71C5F1B8 for ; Thu, 24 Mar 2016 17:06:24 +0000 (UTC) Received: by mail-ig0-f171.google.com with SMTP id ig19so126320284igb.0 for ; Thu, 24 Mar 2016 10:06:24 -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:date:message-id:subject:from:to :cc; bh=ZG8GI0WGOuKmaN7WpkbZmVhBUYXXZPXY5mRRyhAtGwQ=; b=F9IQvBxt42btSllDFi31m+mZOz12fKqbJPIk3GOwEVrCMxmz0fqIhr5nJhdYghQLsr 3WvmJZK1vQnMTH2hIugkBVrPmVjBIPHesTWYv2IWoul7eGrSt4oTIV9JNkXM/TqhWiVb 3lKUZXAJGbTJ+kzir3G0zUs+nr3pTimEaagC1TxtbBCiU+siVGYfx+fmUZIqm5YGe18P gScgF/vnJAqUFmNpFRiNpagqyIg4wGyRNSuArwps63uPEAjrV/M92sOwKSVtfVIKQkPT sTnhG4kShiBaHWlTZd86dfMdMB1Y6LEdGCTlUYprwpEaifx6/z1FDTHFA7dNUBxo05/3 DP2Q== 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:date :message-id:subject:from:to:cc; bh=ZG8GI0WGOuKmaN7WpkbZmVhBUYXXZPXY5mRRyhAtGwQ=; b=XB8OO5l3+fWHeb8bf+v9eKpMsY18h9AVcc8pEk/Il0yoHTVKCTzy1y2gANdUAd5ZN5 kZa9wmf8WwJGt/v/gbLVSux+Bx8fROLJn8X2uD2a0DYANXm8KzBzt54EhxqMPKGemzGF xCbo5w4feAPgntHht0akBLvp7s1dC+uKVc4Y0ecHTkUUZXEfJMBS4v4Y8YbSdL0IcvLN uZkJ/L8PV8nSEfJrCdFe/VWgCpbcb2vDLxVrXWI/yS4Pujq3kNzCXsGIySXt0hqe5Dln Ub/8adZsCKn+NF1xMv5ve3vmSBI5S2kffxo94+2R+SibviruchevouDOxwmTIeej7brE AFdQ== X-Gm-Message-State: AD7BkJJvNPUJHHT2kzsByNgUoyXW1BQhx6pP++1jmg7BsT/bKtP5FHFFawKtAtZaUqZ7XqGSI3nfV4bW/bOgVMA3 MIME-Version: 1.0 X-Received: by 10.50.44.81 with SMTP id c17mr25369572igm.93.1458839183396; Thu, 24 Mar 2016 10:06:23 -0700 (PDT) Received: by 10.36.196.66 with HTTP; Thu, 24 Mar 2016 10:06:23 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Mar 2016 10:06:23 -0700 Message-ID: Subject: Re: [discuss] ending support for Java 7 in Spark 2.0 From: Marcelo Vanzin To: Reynold Xin Cc: Sean Owen , "dev@spark.apache.org" Content-Type: text/plain; charset=UTF-8 On Thu, Mar 24, 2016 at 1:04 AM, Reynold Xin wrote: > I actually talked quite a bit today with an engineer on the scala compiler > team tonight and the scala 2.10 + java 8 combo should be ok. The latest > Scala 2.10 release should have all the important fixes that are needed for > Java 8. So, do you actually get the benefits you're looking for without compiling explicitly to the 1.8 jvm? Because: $ scala -version Scala code runner version 2.10.6 -- Copyright 2002-2013, LAMP/EPFL $ scalac -target jvm-1.8 scalac error: Usage: -target: where choices are jvm-1.5, jvm-1.5-fjbg, jvm-1.5-asm, jvm-1.6, jvm-1.7, msil (default: jvm-1.6) So even if you use jdk 8 to compile with scala 2.10, you can't target jvm 1.8 as far as I can tell. -- Marcelo --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@spark.apache.org For additional commands, e-mail: dev-help@spark.apache.org