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 C4CB0200D45 for ; Thu, 23 Nov 2017 21:28:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C2A26160BFE; Thu, 23 Nov 2017 20:28:04 +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 15EB4160BED for ; Thu, 23 Nov 2017 21:28:03 +0100 (CET) Received: (qmail 59111 invoked by uid 500); 23 Nov 2017 20:28:03 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 59102 invoked by uid 99); 23 Nov 2017 20:28:03 -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; Thu, 23 Nov 2017 20:28:03 +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 87AD0180784 for ; Thu, 23 Nov 2017 20:28:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.502 X-Spam-Level: X-Spam-Status: No, score=-99.502 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id il-L0aZt9Cbm for ; Thu, 23 Nov 2017 20:28: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 1E2345F3B5 for ; Thu, 23 Nov 2017 20:28: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 4F2C5E0161 for ; Thu, 23 Nov 2017 20:28: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 09EAF241A0 for ; Thu, 23 Nov 2017 20:28:00 +0000 (UTC) Date: Thu, 23 Nov 2017 20:28:00 +0000 (UTC) From: "Wouter van Reeven (JIRA)" To: notifications@ant.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IVY-1569) Illegal access warnings with Java 9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Nov 2017 20:28:05 -0000 Wouter van Reeven created IVY-1569: -------------------------------------- Summary: Illegal access warnings with Java 9 Key: IVY-1569 URL: https://issues.apache.org/jira/browse/IVY-1569 Project: Ivy Issue Type: Improvement Components: Ant Affects Versions: 2.3.0 Environment: Java 9.0.1 Reporter: Wouter van Reeven When doing an ant ivy:resolve with Java 9, an illegal access warning is logged: resolve: [ivy:retrieve] :: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ :: [ivy:retrieve] :: loading settings :: file = common/conf/ivysettings.xml [ivy:retrieve] :: resolving dependencies :: gaia.cu1.msi.dcs#DCS;TR-20 [ivy:retrieve] confs: [compile, runtime, ext] WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.ivy.util.url.IvyAuthenticator (file:common/lib/ivy-2.3.0.jar) to field java.net.Authenticator.theAuthenticator WARNING: Please consider reporting this to the maintainers of org.apache.ivy.util.url.IvyAuthenticator WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release There is a workaround which is to use --add-opens command line options to the invocation of java but unfortunately this cannot be done when using ivy in Ant. Please revise the code and fix this . Many thanks in advance! -- This message was sent by Atlassian JIRA (v6.4.14#64029)