You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2018/10/22 12:59:01 UTC
[jira] [Updated] (FELIX-5971) No warning should be emitted for
Import-Packages pointing to javax.* being part of JRE
[ https://issues.apache.org/jira/browse/FELIX-5971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus updated FELIX-5971:
-----------------------------------
Component/s: Tooling
> No warning should be emitted for Import-Packages pointing to javax.* being part of JRE
> --------------------------------------------------------------------------------------
>
> Key: FELIX-5971
> URL: https://issues.apache.org/jira/browse/FELIX-5971
> Project: Felix
> Issue Type: Bug
> Components: Tooling
> Affects Versions: osgicheck-maven-plugin 0.1.0
> Reporter: Konrad Windszus
> Priority: Major
> Fix For: osgicheck-maven-plugin 0.2.0
>
>
> E.g. when referencing some classes from [https://docs.oracle.com/en/java/javase/11/docs/api/java.management/javax/management/package-summary.html,] bnd generates an import-package statement towards this package without a version range (as this packages is exported from the JRE itself). In this case the warning should be prevented, as this is totally valid.
> For that we probably need to maintain a whitelist of packages being exposed by the system bundle (0) from the underlying JRE
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)