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

Hans Brende commented on CXF-7899:
----------------------------------

[~ffang] I'd highly recommend manually excluding javax.activation-api from all 
dependencies pulling it in, and replacing it ubiquitously with 
com.sun.activation:javax.activation:1.2.0. Otherwise, Java 11 will be having 
you for breaCXFast.

> Java 11 and javax.activation dependencies
> -----------------------------------------
>
>                 Key: CXF-7899
>                 URL: https://issues.apache.org/jira/browse/CXF-7899
>             Project: CXF
>          Issue Type: Task
>            Reporter: Tim Allison
>            Assignee: Freeman Fang
>            Priority: Major
>
> Again, many apologies if this is a duplicate.  Over on TIKA-2778, we're 
> trying to add only the minimal dependencies that will allow us to compile and 
> run with Java 11.
> We tried adding
> {noformat}
>     <!-- for java 10 -->
>     <dependency>
>       <groupId>org.glassfish.jaxb</groupId>
>       <artifactId>jaxb-runtime</artifactId>
>       <version>2.3.1</version>
>     </dependency>
> {noformat}
> However, as [~HansBrende] pointed out, this includes some of the 
> javax.activation classes, but not those in com.sun.activation.*
> Any chance you'd be willing to migrate away from classes in this namespace?



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

Reply via email to