maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1403) [Jigsaw] [Java 9] add "--add-modules java.se.ee" to forked CLI argument
Date Mon, 11 Sep 2017 02:12:02 GMT

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

Hudson commented on SUREFIRE-1403:
----------------------------------

SUCCESS: Integrated in Jenkins build maven-surefire #1757 (See [https://builds.apache.org/job/maven-surefire/1757/])
 [Agreed with Oracle] [SUREFIRE-1403] [Jigsaw] [Java 9] add (tibor17: [http://git-wip-us.apache.org/repos/asf/?p=maven-surefire.git&a=commit&h=0635d25e9d273c48196c1c9cb40eefc38393daba])
* (edit) maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkConfiguration.java
[Agreed with Oracle] [SUREFIRE-1403] [DOC] [Jigsaw] [Java 9] add (tibor17: [http://git-wip-us.apache.org/repos/asf/?p=maven-surefire.git&a=commit&h=100f696029a53d57dbacd0f3962f3c305891588c])
* (edit) maven-surefire-plugin/src/site/markdown/java9.md


> [Jigsaw] [Java 9] add "--add-modules java.se.ee" to forked CLI argument
> -----------------------------------------------------------------------
>
>                 Key: SUREFIRE-1403
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1403
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Failsafe Plugin, Maven Surefire Plugin
>            Reporter: Tibor Digana
>            Assignee: Tibor Digana
>             Fix For: 2.20.1
>
>         Attachments: surefire-1403.zip
>
>
> Calling *findClass( cls, "java.se.ee")* in *IsolatedClassLoader* does not help and does
not do anything because the module is ignored in Java 9.
> In-plugin provider does not have any problem to load classes from entire JDK.
> Forked JVM would work only after added
> {{<argLine>--add-modules java.se.ee</argLine>}}
> The fix would be to add "--add-modules java.se.ee" if {{--add-modules}} is not specified
by user at Java 9+.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message