From issues-return-139724-archive-asf-public=cust-asf.ponee.io@maven.apache.org Fri Nov 2 06:31: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 96FE918062B for ; Fri, 2 Nov 2018 06:31:04 +0100 (CET) Received: (qmail 82786 invoked by uid 500); 2 Nov 2018 05:31:03 -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 82774 invoked by uid 99); 2 Nov 2018 05:31:03 -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; Fri, 02 Nov 2018 05:31:03 +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 12EF21A14FC for ; Fri, 2 Nov 2018 05:31:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.001 X-Spam-Level: X-Spam-Status: No, score=-109.001 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, 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-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ZqL3fFcetIEt for ; Fri, 2 Nov 2018 05:31:02 +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 8ED4E5F27D for ; Fri, 2 Nov 2018 05:31: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 6B55DE00E0 for ; Fri, 2 Nov 2018 05:31: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 3687A27762 for ; Fri, 2 Nov 2018 05:31:00 +0000 (UTC) Date: Fri, 2 Nov 2018 05:31:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SUREFIRE-1588) Surefire manifest jar classloading broken on latest Debian/Ubuntu Java8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SUREFIRE-1588?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 6672586#comment-16672586 ]=20 ASF GitHub Bot commented on SUREFIRE-1588: ------------------------------------------ Tibor17 edited a comment on issue #197: SUREFIRE-1588 Patch (Java7) URL: https://github.com/apache/maven-surefire/pull/197#issuecomment-4352751= 14 =20 =20 @cstamas Can you please squash the commits in one? Exclude the `pom.xml`= because the master is already on Java 1.7. The commit message should be th= en according to Jira: `[SUREFIRE-1588] Surefire manifest jar classloading b= roken on latest Debian/Ubuntu Java8`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. =20 For queries about this service, please contact Infrastructure at: users@infra.apache.org > Surefire manifest jar classloading broken on latest Debian/Ubuntu Java8 > ----------------------------------------------------------------------- > > Key: SUREFIRE-1588 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1588 > Project: Maven Surefire > Issue Type: Bug > Affects Versions: 2.22.1 > Reporter: Cservenak, Tamas > Priority: Major > > See issue [1], but in short: latest Java8 on Ubuntu/Debian/Mint family of= Linuxes (am on Mint, Ubuntu derivative) contains this patch [3], and eforc= es Manifest class path entries to be relative, as defined in [2]. > Hence, surefire booter and rest of Maven classpath, that uses absolute UR= Ls are simply discarded. > Example error: > {noformat} > # Created at 2018-10-30T21:34:43.339 > Error: Could not find or load main class org.apache.maven.surefire.booter= .ForkedBooter{noformat} > using the new property {{-Djdk.net.URLClassPath.disableClassPathURLCheck= =3Ddebug}} clearly shows that all the entries from the surefire JAR are sim= ply ignored. > =C2=A0 > [1]=C2=A0[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D911925] > [2]=C2=A0https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.h= tml#classpath > [3]=C2=A0[https://hg.openjdk.java.net/jdk/jdk/rev/27135de165ac] -- This message was sent by Atlassian JIRA (v7.6.3#76005)