[jboss-jira] [JBoss JIRA] (WFCORE-4592) WildFly Core doesn't compile on Open JDK 14 anymore

Richard Opalka (Jira) issues at jboss.org
Wed Oct 16 13:27:00 EDT 2019


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

Richard Opalka commented on WFCORE-4592:
----------------------------------------

We can support JDK14 and beyond [~brian.stansberry] [~dlofthouse] 
as it is possible to workaround this issue.
ATM just java.security.acl package was removed from JDK14.
It is possible to put this missing package to some separate folder or jar archive and
pass "-patch-module" and "-add-exports" flag to compiler and VM.
The following command line is working workaround for this issue:

$ORACLE_JDK14_EA/bin/java --patch-module java.base=/home/opalka/java.base-patch --add-exports java.base/java.security.acl=ALL-UNNAMED Test

where java.base-patch folder contains missing java.security.acl package and its classes

> WildFly Core doesn't compile on Open JDK 14 anymore
> ---------------------------------------------------
>
>                 Key: WFCORE-4592
>                 URL: https://issues.jboss.org/browse/WFCORE-4592
>             Project: WildFly Core
>          Issue Type: Task
>          Components: Security
>         Environment: Since Open JDK 14 EA build 8 including
>            Reporter: Richard Opalka
>            Priority: Major
>
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /home/opalka/git/redhat/wildfly-core/domain-management/src/main/java/org/jboss/as/domain/management/security/JaasCallbackHandler.java:[224,51] cannot access java.security.acl.Group
>   class file for java.security.acl.Group not found
> [INFO] 1 error
> [INFO] -------------------------------------------------------------



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list