Return-Path: X-Original-To: apmail-jclouds-user-archive@minotaur.apache.org Delivered-To: apmail-jclouds-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5822A1767B for ; Mon, 6 Oct 2014 17:20:31 +0000 (UTC) Received: (qmail 45296 invoked by uid 500); 6 Oct 2014 17:20:31 -0000 Delivered-To: apmail-jclouds-user-archive@jclouds.apache.org Received: (qmail 45221 invoked by uid 500); 6 Oct 2014 17:20:31 -0000 Mailing-List: contact user-help@jclouds.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@jclouds.apache.org Delivered-To: mailing list user@jclouds.apache.org Received: (qmail 45204 invoked by uid 99); 6 Oct 2014 17:20:31 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2014 17:20:31 +0000 Received: from sherlock (c-69-181-104-115.hsd1.ca.comcast.net [69.181.104.115]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id BC22B1A0B60; Mon, 6 Oct 2014 17:20:30 +0000 (UTC) Date: Mon, 6 Oct 2014 10:20:24 -0700 From: Andrew Gaul To: dev@jclouds.apache.org Cc: user@jclouds.apache.org Subject: Re: Is jclouds developer-friendly for Android ? Message-ID: <20141006172023.GB31227@sherlock> References: <5432AD61.1040401@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Modern Android supports modern Java language features: http://stackoverflow.com/questions/20480090/does-android-support-jdk-6-or-7 If someone in the community contributes well-scoped patches to allow jclouds 1.8.x to work better on older Android we can merge those but otherwise jclouds 2.0 should remain Java 7-only for its previously-discussed benefits. On Mon, Oct 06, 2014 at 08:57:19AM -0700, Adrian Cole wrote: > Actually, it seems the 2.0 branch has started to use java 7 constructs > internally, which will make jclouds definitely incompatible with android. > > For example, it is ok for code to expose alternate paths that use java 7 or > even 8 (ex how okio still works is that these methods are not called in > android and therefore ignored). However, core shared code can't and still > remain android compatible. > > Copying in developer list just so folks know the impact of using trt with > resources :) If we switch to a manner in which java 7 or 8 is optional (no > pun intended), android still has a chance. > > -A -- Andrew Gaul http://gaul.org/