[jboss-jira] [JBoss JIRA] (WFLY-7579) rts integration tests failed when building with jdk 9

Amos Feng (JIRA) issues at jboss.org
Mon May 22 03:03:00 EDT 2017


    [ https://issues.jboss.org/browse/WFLY-7579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409406#comment-13409406 ] 

Amos Feng commented on WFLY-7579:
---------------------------------

you could try to add "--add-opens=java.base/java.lang=ALL-UNNAMED" or maybe others options with $JAVA_OPTS to start the server.

> rts integration tests failed when building with jdk 9
> -----------------------------------------------------
>
>                 Key: WFLY-7579
>                 URL: https://issues.jboss.org/browse/WFLY-7579
>             Project: WildFly
>          Issue Type: Bug
>          Components: Test Suite, Transactions
>            Reporter: Amos Feng
>            Assignee: Amos Feng
>
> It can not start the wildfly with the exception
> {code}
> Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected java.lang.Package java.lang.ClassLoader.getPackage(java.lang.String) accessible: module java.base does not "exports private java.lang" to unnamed module @77e4c80f
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list