karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4900) karaf java9 build is broken since 9-ea+148
Date Tue, 20 Dec 2016 08:27:58 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15763620#comment-15763620

Freeman Fang commented on KARAF-4900:

The --add-opens new jvm flag mentioned in [1] can do the trick.

We can update maven-surefire-plugin for java9 profile to use this new flag, and for the maven-war-plugin
which can't fork and specify jvm args we need ensure the MAVEN_OPTS has the
--add-opens java.desktop/java.awt.font=ALL-UNNAMED --add-opens java.base/java.text=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED

Also need use pax-exam 4.10 which has the fix for PAXEXAM-803

> karaf java9 build is broken since 9-ea+148
> ------------------------------------------
>                 Key: KARAF-4900
>                 URL: https://issues.apache.org/jira/browse/KARAF-4900
>             Project: Karaf
>          Issue Type: Task
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>              Labels: java9

This message was sent by Atlassian JIRA

View raw message