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 6A89B200B4F for ; Tue, 26 Jul 2016 10:11:57 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 69138160A75; Tue, 26 Jul 2016 08:11:57 +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 AE5EF160A56 for ; Tue, 26 Jul 2016 10:11:56 +0200 (CEST) Received: (qmail 20937 invoked by uid 500); 26 Jul 2016 08:11:55 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 20917 invoked by uid 99); 26 Jul 2016 08:11:55 -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; Tue, 26 Jul 2016 08:11:55 +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 E36421A02D0; Tue, 26 Jul 2016 08:11:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.746 X-Spam-Level: X-Spam-Status: No, score=-3.746 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=disabled 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 jus2KWBMx73n; Tue, 26 Jul 2016 08:11:52 +0000 (UTC) Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 3A9CE5F1F5; Tue, 26 Jul 2016 08:11:52 +0000 (UTC) Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u6Q8Bjcn004091 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 26 Jul 2016 08:11:45 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u6Q8BiIh012594 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 26 Jul 2016 08:11:44 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u6Q8BhBj012170; Tue, 26 Jul 2016 08:11:44 GMT Received: from Rorys-iMac.local (/10.175.250.173) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 26 Jul 2016 01:11:43 -0700 Subject: Re: Early Access builds of JDK 8u112 b03, JDK 9 b128 are available on java.net To: Stefan Bodewig , dev@ant.apache.org References: <878twpn4bx.fsf@v45346.1blu.de> Cc: rory.odonnell@oracle.com, Dalibor Topic , Balchandra Vaidya , Muneer Kolarkunnu , felix.yang@oracle.com From: "Rory O'Donnell" Message-ID: Date: Tue, 26 Jul 2016 09:11:40 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <878twpn4bx.fsf@v45346.1blu.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: userv0022.oracle.com [156.151.31.74] archived-at: Tue, 26 Jul 2016 08:11:57 -0000 Hi Stefan, On 25/07/2016 16:08, Stefan Bodewig wrote: > Hi all > > some feedback from working on Apache Ant. > > On 2016-07-22, Rory O'Donnell wrote: > >> Early Access b127 (#5304) for JDK 9 >> with Project Jigsaw is available on java.net, summary of changes are >> listed here >> > thanks to Felix Yang's bug reports I've already fixed problems with > Ant's native2ascii and rmic tasks. > > For Ant was invoking sun.rmi.rmic.Main internally and this class > is no longer exported (and inside a module Ant wouldn't import > anyway). I'm a little bit worried that com.sun.tools.javac.Main used in > and com.sun.tools.javah.oldjavah.Main used in may > "disappear" in similar ways (or already have). > > [aside: removing native2ascii from the JDK as people could use ther > build tools which in turn use the JDK tool still strikes me as a curious > move] > > I can successfully bootstrap Ant's master branch with the latest jigsaw > build and am down to three families of errors: > > * rmic -Xnew doesn't work and fails with a strange error message. I know > I've reported this before: > > rmic -vcompat -Xnew SomeClass > > results in > > ,---- > | rmic: error - In doclet class sun.rmi.rmic.newrmic.Main, method > | optionLength not accessible > | 1 error > `---- > > I think I've been told -Xnew had been removed before (and if so we > need to adapt Ant), but there should be a better error message. > > * some of the JAI tests fail, but I haven't had the time to really look > into them, yet. JAI is not an area I felt confident in jumping in. > > * Something has changed WRT date time parsing. Many of the > invocations we use inside our tests fail (on my German locale system, > in case this matters). > > We use > > DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, Locale.US) > > and receive > > ,---- > | java.text.ParseException: Unparseable date: "06/24/2003 2:20 pm" > | at java.text.DateFormat.parse(java.base@9-ea/DateFormat.java:366) > `---- > > The same string is parsed without any problems on Java8 and earlier. Can you log bugs for the above items and let us have the Incident IDs, we will follow up ? Rgds,Rory > > Cheers > > Stefan -- Rgds,Rory O'Donnell Quality Engineering Manager Oracle EMEA , Dublin, Ireland --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org