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 C57E0200D0C for ; Wed, 20 Sep 2017 18:47:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C41B81609E2; Wed, 20 Sep 2017 16:47:08 +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 0FC6A1609D8 for ; Wed, 20 Sep 2017 18:47:07 +0200 (CEST) Received: (qmail 81473 invoked by uid 500); 20 Sep 2017 16:47:07 -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 81461 invoked by uid 99); 20 Sep 2017 16:47:06 -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 Sep 2017 16:47:06 +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 3D301184E80 for ; Wed, 20 Sep 2017 16:47:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-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 ZZBLgD0hsPWS for ; Wed, 20 Sep 2017 16:47:05 +0000 (UTC) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6FDA65FCC1 for ; Wed, 20 Sep 2017 16:47:05 +0000 (UTC) Received: by mail-io0-f172.google.com with SMTP id l15so4906133iol.8 for ; Wed, 20 Sep 2017 09:47:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=HkQFX5KmsweOubikRNs9Z/T/+6HNtPLNiJNu78Vq9bE=; b=uLUf1Ifexg3/1z0wCAuu9zxsxlpVg19e48axCO8VIF3342ROCBY5y1VsmNOeXgi40F 2namFG1KgiGtrpD1cbwmNiuoSfObxLaUXRCYzVDXK8cluG+Fhvfag3vdNvYm0SlUecix qHjgCrswHjdH9AnTbsunirUrPQ+CXKBahbUA1RCdSzYKb7uMcMCkGW+KGiqAJ0c4MEwX TvLgIAJfC6wiRYYlj42Lhnr5VhfhF+PQ8e50CLUybMX3ZhDXrHFPLxOPwxR1sc2S6YMt GBzhP3inuBG0KucIqWZ+2uN8rzT+WDkVpTFTDd3nHMDee2PJXFFPU5APiMqp49HiMIBt Dhow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=HkQFX5KmsweOubikRNs9Z/T/+6HNtPLNiJNu78Vq9bE=; b=tjns6P7z2F5vEAEk9jPlTckJwJvrwXYPKwelsGdUmex7oN8i+GfRpm67RIxhf/NpG0 bXbPwupv8dybYXrdzyLuGGQ3Gb7/qMNzKWFB0SSjSBNYORdi5Aj4KoZDhiB3XLJkILV5 e8a18/90SXuhg3e+PERTrn8gDZk8tIIAnoQuodpG27zuViw0NEmI61D03d0lSxBXi5YP 2AgxUIIRtWA2RaiuvyEu/SaEN14y6KMKbedlJfXjbW6zz7HlP5UuuZi9WnOGEr7YLvxn j+sS0tDcbJushIjF6H7ev00uazaaEgR0iVqSKSQaVOsiAhFBOKMMs817XLVxKC91fPo5 2UTg== X-Gm-Message-State: AHPjjUgkr93cCnzYmr4OYwS94koKckQK4qO6bTD8Ny255tCZdl+vFlN/ vX/IrAFnZVQ0wi0lTeoCCmWAiIjWwTSxGDs2/gvJwxPr X-Google-Smtp-Source: AOwi7QCJqgoQibOC9bwh8vdzWcPn6FRP78EElKR51wErot9JceEbk4rtsfzR63msQ4vvRSgus8CmqsDX3xZi7rr27Sc= X-Received: by 10.107.180.70 with SMTP id d67mr7334793iof.150.1505926019111; Wed, 20 Sep 2017 09:46:59 -0700 (PDT) MIME-Version: 1.0 Sender: jodastephen@gmail.com Received: by 10.36.28.12 with HTTP; Wed, 20 Sep 2017 09:46:38 -0700 (PDT) In-Reply-To: <05FCE0F8-2932-4638-A38D-4815FF7D0FD9@apache.org> References: <05FCE0F8-2932-4638-A38D-4815FF7D0FD9@apache.org> From: Stephen Colebourne Date: Wed, 20 Sep 2017 17:46:38 +0100 X-Google-Sender-Auth: cebZxZjfPxwoPY_ydt_rm67j1B0 Message-ID: Subject: Re: [COLLECTIONS] module-info.java and Java 9 (Was: [COLLECTIONS] Time for 4.2) To: Commons Developers List Content-Type: text/plain; charset="UTF-8" archived-at: Wed, 20 Sep 2017 16:47:09 -0000 On 20 September 2017 at 17:12, Benedikt Ritter wrote: >> Von: Stephen Colebourne >> I've not got maven to work with actual module-info.java files yet on >> the Joda projects, but they are a more complex setup. Maybe >> [collections] could be the first to get a real module-info? There are >> no dependencies, right? > > There are test dependencies. > > And I wonder how we can create a jar that is also valid on JVM 7 and 8. Do they ignore the module-info.class which would be included? Or do we have to create a Multi-Release jar? The build will definitely require Java 9. I've not managed to get this pattern to work on my projects yet: http://maven.apache.org/plugins/maven-compiler-plugin/examples/module-info.html There should be no need for a multi-release jar - the module-info.class file will just be ignored (not class loaded) by previous versions even though it is in the jar file. Stephen --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org