[
https://issues.apache.org/jira/browse/FELIX-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878594#action_12878594
]
Guillaume Nodet commented on FELIX-2409:
----------------------------------------
It doesn't for me. Currently, the way karaf is set up is that all
applications can run independantly of being run on JDK 1.5 or 1.6.
If we do that for javax.annotation, we'd have to do that for javax.scripting
for example, but in that case, it would fail because we currently rely on
servicemix specs, which are enhanced for osgi, so this would break as soon as
you use jdk 1.6.
So i'd rather advise you to tweak the karaf config in order to suit your needs,
if your target jre is jdk 1.6 only.
> javax.annotation not exported
> -----------------------------
>
> Key: FELIX-2409
> URL: https://issues.apache.org/jira/browse/FELIX-2409
> Project: Felix
> Issue Type: Bug
> Components: Karaf
> Affects Versions: karaf 1.6.0
> Environment: Windows / jre-1.6
> Reporter: Jean-Philippe CLEMENT
>
> Karaf config.properties does not export "jre-1.6" javax.annotation and
> javax.annotation.processing standard packages.
> As they are part of the java 1.6 API it sounds normal to have them imported
> by default:
> javax.annotation, \
> javax.annotation.processing, \
> Would it be possible to fix this?
> Thanks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.