maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylwester Lachiewicz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6543) Upgrade plexus classworld to support java 9+ ClassLoader.findClass(String moduleName, String name) in Mojos
Date Sun, 30 Dec 2018 19:53:00 GMT

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

Sylwester Lachiewicz commented on MNG-6543:
-------------------------------------------

Here we have explanation [https://github.com/eclipse-ee4j/jaxb-ri/issues/1220#issuecomment-428139589]
With old Classword and Java 9+ we are unable to load package level annotations from package-info.class

In Jaxb case we unable to find com.sun.xml.bind.v2.schemagen.episode.package-info

> Upgrade plexus classworld to support java 9+ ClassLoader.findClass(String moduleName,
String name) in Mojos
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-6543
>                 URL: https://issues.apache.org/jira/browse/MNG-6543
>             Project: Maven
>          Issue Type: Bug
>          Components: Class Loading
>    Affects Versions: 3.6.0
>            Reporter: Romain Manni-Bucau
>            Assignee: Sylwester Lachiewicz
>            Priority: Major
>             Fix For: 3.6.1
>
>         Attachments: MNG-6543-xjc.zip
>
>
> Goal is to include https://github.com/codehaus-plexus/plexus-classworlds/pull/4 in Maven
and enable Mojos using this Java 9 new JPMS API to work under java 9+
> see [Java 9 ClassLoader.findClass(String moduleName,String name)|https://docs.oracle.com/javase/9/docs/api/java/lang/ClassLoader.html#findClass-java.lang.String-java.lang.String-]



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

Mime
View raw message