[
https://issues.apache.org/jira/browse/KARAF-7735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved KARAF-7735.
-----------------------------------------
Resolution: Fixed
> javax.annotation should not be exported by framework on Java 11+
> ----------------------------------------------------------------
>
> Key: KARAF-7735
> URL: https://issues.apache.org/jira/browse/KARAF-7735
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.4.3
> Reporter: Richard Eckart de Castilho
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> The {{jre.properties}} file is set up such that any JRE later than 9 inherits
> the package exports form JRE 9. However, some packages went away in later
> versions. For example, the {{javax.annotation}} package is no longer provided
> by Java 11+.
> A fix for the issue would be to copy the package exports from JRE 9 to JRE 11
> and remove the line related to {{javax.annotation}}.
> There may be other packages also no longer provided by higher Java versions
> that require similar actions - I did not check.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)