You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2018/11/30 18:40:00 UTC

[jira] [Comment Edited] (SUREFIRE-1588) Surefire manifest jar classloading broken on latest Debian/Ubuntu Java8

    [ https://issues.apache.org/jira/browse/SUREFIRE-1588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705149#comment-16705149 ] 

Tibor Digana edited comment on SUREFIRE-1588 at 11/30/18 6:39 PM:
------------------------------------------------------------------

[~jglick@netbeans.org]
[~mirabilos]
Are you talking about white spaces in paths. This was fixed in SUREFIRE-1593.
Otherwise this issue regarding multiple disks and relative paths was fixed or workarounded in {{3.0.0-M1}}.


was (Author: tibor17):
[~jglick@netbeans.org]
[~mirabilos]
Are you talking about white spaces in paths. This was fixed in SUREFIRE-1593.
Otherwise this issue regarding multiple disks was fixed or workarounded in {{3.0.0-M1}}.

> 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
>            Assignee: Tibor Digana
>            Priority: Major
>             Fix For: 3.0.0-M1
>
>
> 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 eforces Manifest class path entries to be relative, as defined in [2].
> Hence, surefire booter and rest of Maven classpath, that uses absolute URLs 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=debug}} clearly shows that all the entries from the surefire JAR are simply ignored.
>  
> [1] [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911925]
> [2] https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html#classpath
> [3] [https://hg.openjdk.java.net/jdk/jdk/rev/27135de165ac]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)