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 13813200D4F for ; Wed, 6 Dec 2017 16:06:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 121B3160C08; Wed, 6 Dec 2017 15:06:05 +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 57EC2160BFD for ; Wed, 6 Dec 2017 16:06:04 +0100 (CET) Received: (qmail 80390 invoked by uid 500); 6 Dec 2017 15:06:03 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 80379 invoked by uid 99); 6 Dec 2017 15:06:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2017 15:06:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9809BC745E for ; Wed, 6 Dec 2017 15:06:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.011 X-Spam-Level: X-Spam-Status: No, score=-100.011 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Oj82P-jOYzhf for ; Wed, 6 Dec 2017 15:06:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 459CA5F1B3 for ; Wed, 6 Dec 2017 15:06:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8BA12E0012 for ; Wed, 6 Dec 2017 15:06:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 449EE255C8 for ; Wed, 6 Dec 2017 15:06:00 +0000 (UTC) Date: Wed, 6 Dec 2017 15:06:00 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DAEMON-379) Unable to build with java-9 using ant. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 06 Dec 2017 15:06:05 -0000 [ https://issues.apache.org/jira/browse/DAEMON-379?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1628= 0281#comment-16280281 ]=20 Sebb commented on DAEMON-379: ----------------------------- The Maven POM uses 1.6 - DAEMON-371 - so it should be OK to update the Ant = build file accordingly. However, does it make sense to continue to maintain both Ant and Maven buil= d files? > Unable to build with java-9 using ant. > -------------------------------------- > > Key: DAEMON-379 > URL: https://issues.apache.org/jira/browse/DAEMON-379 > Project: Commons Daemon > Issue Type: Bug > Affects Versions: 1.1.0 > Environment: slackware-64 14.2 > openjdk 9.0.0.15 > Apache Ant 1.10.1 > Reporter: S=C3=A9bastien Ballet > Priority: Minor > > Build of commons-dameon with java-9 using Ant fails with the following er= rors : > {noformat} > [javac] Compiling 10 source files to /tmp/SeB/commons-daemon-1.1.0-sr= c/target/classes > [javac] warning: [options] bootstrap class path not set in conjunctio= n with -source 1.5 > [javac] error: Source option 1.5 is no longer supported. Use 1.6 or l= ater. > [javac] error: Target option 1.5 is no longer supported. Use 1.6 or l= ater. > {noformat} > The patch below fixes that issue : > {noformat} > --- build.xml.orig=092017-12-06 10:54:59.570231291 +0100 > +++ build.xml=092017-12-06 10:57:14.879237328 +0100 > @@ -93,10 +93,10 @@ > =20 > =20 > > - > + > =20 > > - > + > =20 > > > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)