From commits-return-36014-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Thu Mar 21 04:27:50 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 373C018062C for ; Thu, 21 Mar 2019 05:27:50 +0100 (CET) Received: (qmail 59854 invoked by uid 500); 21 Mar 2019 04:27:49 -0000 Mailing-List: contact commits-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list commits@karaf.apache.org Received: (qmail 59845 invoked by uid 99); 21 Mar 2019 04:27:49 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2019 04:27:49 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 9AE7085078; Thu, 21 Mar 2019 04:27:48 +0000 (UTC) Date: Thu, 21 Mar 2019 04:27:48 +0000 To: "commits@karaf.apache.org" Subject: [karaf] branch jdk12 updated: [KARAF-6203]ensure karaf can build and run with JDK12-remove WARNING: Illegal reflective access MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <155314246830.26660.7706382348222857616@gitbox.apache.org> From: ffang@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: karaf X-Git-Refname: refs/heads/jdk12 X-Git-Reftype: branch X-Git-Oldrev: b9e2936a8fabcd00291f8a0557212c46d5320c45 X-Git-Newrev: 6926ab916d83603b5ef9a9952159d151f19719e5 X-Git-Rev: 6926ab916d83603b5ef9a9952159d151f19719e5 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. ffang pushed a commit to branch jdk12 in repository https://gitbox.apache.org/repos/asf/karaf.git The following commit(s) were added to refs/heads/jdk12 by this push: new 6926ab9 [KARAF-6203]ensure karaf can build and run with JDK12-remove WARNING: Illegal reflective access 6926ab9 is described below commit 6926ab916d83603b5ef9a9952159d151f19719e5 Author: Freeman Fang AuthorDate: Thu Mar 21 12:26:29 2019 +0800 [KARAF-6203]ensure karaf can build and run with JDK12-remove WARNING: Illegal reflective access --- .../features/base/src/main/filtered-resources/resources/bin/karaf | 2 ++ .../features/base/src/main/filtered-resources/resources/bin/karaf.bat | 2 ++ 2 files changed, 4 insertions(+) diff --git a/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf b/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf index 1ed6ad1..07f632e 100644 --- a/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf +++ b/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf @@ -310,6 +310,8 @@ run() { --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED \ --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED \ --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED \ + --add-exports=java.base/sun.net.www.protocol.ftp=ALL-UNNAMED \ + --add-exports=java.base/sun.net.www.protocol.file=ALL-UNNAMED \ --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED \ --add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED \ -Dkaraf.instances="${KARAF_HOME}/instances" \ diff --git a/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat b/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat index 037cd02..03c4f94 100644 --- a/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat +++ b/assemblies/features/base/src/main/filtered-resources/resources/bin/karaf.bat @@ -439,6 +439,8 @@ if "%KARAF_PROFILER%" == "" goto :RUN --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED ^ --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED ^ --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED ^ + --add-exports=java.base/sun.net.www.protocol.file=ALL-UNNAMED ^ + --add-exports=java.base/sun.net.www.protocol.ftp=ALL-UNNAMED ^ --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED ^ --add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED ^ -classpath "%CLASSPATH%" ^