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 55473200C54 for ; Wed, 12 Apr 2017 09:22:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 53CB2160BA8; Wed, 12 Apr 2017 07:22:47 +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 9BDA6160B8A for ; Wed, 12 Apr 2017 09:22:46 +0200 (CEST) Received: (qmail 61268 invoked by uid 500); 12 Apr 2017 07:22:45 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 61256 invoked by uid 99); 12 Apr 2017 07:22:45 -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; Wed, 12 Apr 2017 07:22:45 +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 18C2A181069 for ; Wed, 12 Apr 2017 07:22:45 +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 wrilkoy6dkon for ; Wed, 12 Apr 2017 07:22:43 +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 837015FB49 for ; Wed, 12 Apr 2017 07:22:42 +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 D9D42E073C for ; Wed, 12 Apr 2017 07:22:41 +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 90E7C24066 for ; Wed, 12 Apr 2017 07:22:41 +0000 (UTC) Date: Wed, 12 Apr 2017 07:22:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MWAR-405) Workaround XStream incompatibility with Java9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 12 Apr 2017 07:22:47 -0000 [ https://issues.apache.org/jira/browse/MWAR-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15965492#comment-15965492 ] ASF GitHub Bot commented on MWAR-405: ------------------------------------- Github user eolivelli closed the pull request at: https://github.com/apache/maven-plugins/pull/112 > Workaround XStream incompatibility with Java9 > --------------------------------------------- > > Key: MWAR-405 > URL: https://issues.apache.org/jira/browse/MWAR-405 > Project: Maven WAR Plugin > Issue Type: Bug > Affects Versions: 3.0.0 > Reporter: Enrico Olivelli > Priority: Blocker > > The problem is that XStreams tries to access "comparator" field of java.util.TreeMap and this is forbidden in Java9 > {code} > Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.util.Comparator java.util.TreeMap.comparator accessible: module java.base does not "opens java.util" to unnamed module > Happens while initializing org.apache.maven.plugins.war.util.WebappStructureSerializer > {code} > A possibile workaround is to change the initialization of XStreams in a way that only useful converters are registers, thus bypassing the problem -- This message was sent by Atlassian JIRA (v6.3.15#6346)