From commits-return-44676-archive-asf-public=cust-asf.ponee.io@tomee.apache.org Thu Dec 6 21:55:05 2018 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 67071180674 for ; Thu, 6 Dec 2018 21:55:05 +0100 (CET) Received: (qmail 6519 invoked by uid 500); 6 Dec 2018 20:55:04 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 6510 invoked by uid 500); 6 Dec 2018 20:55:04 -0000 Delivered-To: apmail-openejb-commits@openejb.apache.org Received: (qmail 6506 invoked by uid 99); 6 Dec 2018 20:55:04 -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; Thu, 06 Dec 2018 20:55:04 +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 D6FB8CC0D6 for ; Thu, 6 Dec 2018 20:55:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.801 X-Spam-Level: X-Spam-Status: No, score=-109.801 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id VQLVtqbdRexx for ; Thu, 6 Dec 2018 20:55:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C3C705F3CE for ; Thu, 6 Dec 2018 20:55:00 +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 588C8E0E5D for ; Thu, 6 Dec 2018 20:55: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 10C82252BE for ; Thu, 6 Dec 2018 20:55:00 +0000 (UTC) Date: Thu, 6 Dec 2018 20:55:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@openejb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TOMEE-2253) tomee.sh -version not working properly with Java 11 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TOMEE-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16712020#comment-16712020 ] ASF GitHub Bot commented on TOMEE-2253: --------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/tomee/pull/236 > tomee.sh -version not working properly with Java 11 > --------------------------------------------------- > > Key: TOMEE-2253 > URL: https://issues.apache.org/jira/browse/TOMEE-2253 > Project: TomEE > Issue Type: Bug > Components: TomEE Core Server > Affects Versions: 8.0.0-M1, 7.0.5, 7.1 > Reporter: Daniel Cunha > Assignee: Daniel Cunha > Priority: Minor > Labels: pull-request-available > Fix For: 8.0.0-Final, 7.1.1 > > > We are getting an illegal reflective access for Java 11 when trying to see the TomEE version with tomee.sh. > {code:java} > ./tomee.sh -version > WARNING: An illegal reflective access operation has occurred > WARNING: Illegal reflective access by > org.apache.openejb.loader.BasicURLClassPath$4 > (file:/usr/local/tomcat2/apache-tomcat/lib/openejb-loader-7.0.6-SNAPSHOT.jar) > to field java.net.URLClassLoader.ucp > WARNING: Please consider reporting this to the maintainers of org.apache.openejb.loader.BasicURLClassPath$4 > 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 > Error setting up the classpath: class > java.lang.IllegalAccessException: class > org.apache.openejb.loader.BasicURLClassPath cannot access class > jdk.internal.loader.URLClassPath (in module java.base) because module > java.base does not export jdk.internal.loader to unnamed module @ae45eb6 > java.lang.IllegalAccessException: class > org.apache.openejb.loader.BasicURLClassPath cannot access class > jdk.internal.loader.URLClassPath (in module java.base) because module > java.base does not export jdk.internal.loader to unnamed module @ae45eb6 > at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:361) > at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:591) > at java.base/java.lang.reflect.Method.invoke(Method.java:558) > at org.apache.openejb.loader.BasicURLClassPath.addJarToPath(BasicURLClassPath.java:47) > at org.apache.openejb.loader.SystemClassPath.addJarToPath(SystemClassPath.java:48) > at org.apache.openejb.cli.Bootstrap.setupClasspath(Bootstrap.java:129) > at org.apache.openejb.cli.Bootstrap.main(Bootstrap.java:150) > Apache OpenEJB 7.0.6-SNAPSHOT build: 20181003-04:34 > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)