[
https://issues.apache.org/jira/browse/KARAF-7444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17553633#comment-17553633
]
Jean-Baptiste Onofré commented on KARAF-7444:
---------------------------------------------
IMHO, there's no issue in Karaf. The problem is on the verify, so either you
don't define standard/framework feature, or/and {{javase}} configure in your
plugin config is not the right version.
It worked with maven-bundle-plugin 5.1.4 because it uses old bnd version that
don't import java.lang packages. maven-bundle-plugin 5.1.6 uses new bnd version
(R8 compliant) that add these imports by default (you can still use the "old"
behavior if you want).
Anyway, at runtime, you can see {{java.lang.runtime}} package available (with
{{packages:exports}} command).
Check your javase version/framework feature in your build.
> java.lang.runtime export is missing
> -----------------------------------
>
> Key: KARAF-7444
> URL: https://issues.apache.org/jira/browse/KARAF-7444
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.4.0
> Reporter: Oliver Lietz
> Assignee: Jean-Baptiste Onofré
> Priority: Critical
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)