You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2016/08/23 16:17:20 UTC

[jira] [Resolved] (KARAF-4308) javax.annotation.security is exported by system bundle [id=0]

     [ https://issues.apache.org/jira/browse/KARAF-4308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved KARAF-4308.
------------------------------------
       Resolution: Not A Problem
         Assignee: Guillaume Nodet
    Fix Version/s:     (was: 4.0.7)
                       (was: 4.1.0)

It's not always there.  
It depends on the distribution you use, and especially what libraries it contains in the {{lib/endorsed}} folder, which itself depends on the configuration used to build it.

For example, the {{apache-karaf}} distribution actually contains this package, but it comes from the {{lib/endorsed/javax.annotation-api-1.2.jar}} jar.
However, the {{apache-karat-minimal}} distribution does not contain this jar and the system bundle does not export the corresponding package.

> javax.annotation.security is exported by system bundle [id=0]
> -------------------------------------------------------------
>
>                 Key: KARAF-4308
>                 URL: https://issues.apache.org/jira/browse/KARAF-4308
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.2
>            Reporter: Tadeusz Pawlus
>            Assignee: Guillaume Nodet
>         Attachments: jdk in intellij idea.png
>
>
> There is export of
> {{javax.annotation.security;version=1.2}}
> in {{org.osgi.framework.system.packages.extra}} property.
> However, JDK8 (and jre) does not contain this package.
> Take a look at attached picture.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)