Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 25D91200B79 for ; Tue, 23 Aug 2016 18:17:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 24824160A81; Tue, 23 Aug 2016 16:17:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 98E7F160ABF for ; Tue, 23 Aug 2016 18:17:21 +0200 (CEST) Received: (qmail 97392 invoked by uid 500); 23 Aug 2016 16:17:20 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 97140 invoked by uid 99); 23 Aug 2016 16:17:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2016 16:17:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8C99F2C0159 for ; Tue, 23 Aug 2016 16:17:20 +0000 (UTC) Date: Tue, 23 Aug 2016 16:17:20 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (KARAF-4308) javax.annotation.security is exported by system bundle [id=0] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 23 Aug 2016 16:17:22 -0000 [ 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)