felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sahoo (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-995) JRE packages are exported with wrong version
Date Fri, 09 Apr 2010 08:59:50 GMT

    [ https://issues.apache.org/jira/browse/FELIX-995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855321#action_12855321

Sahoo commented on FELIX-995:

Given that versions of Java SE and EE packages are being discussed at a much wider level,
we should wait for them to finalize package versions. In the mean while, I think Felix should
not specify package version, as some of the package are defined in specifications which are
still at 1.0 level. I think equinox is configured this as well. 

Secondly, we should at least do something about packages like javax.transaction and org.omg.CORBA
which is known to be incomplete in JRE. e.g., this is what we do in GlassFish while exporting:

 javax.transaction; javax.transaction.xa;partial=true; mandatory:=partial, \

We also set a boot delegation flag for javax.transaction and javax.transaction.*, else javax.sql
won't work because of constraint violation. The more enterprise users use Felix, the more
often they will encounter this problem of not finding some javax.transaction classes.

> JRE packages are exported with wrong version
> --------------------------------------------
>                 Key: FELIX-995
>                 URL: https://issues.apache.org/jira/browse/FELIX-995
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.4.1
>         Environment: generic
>            Reporter: Sahoo
> Felix 1.4.1 exports JRE packages with a version equals to the JRE version. e.g., if I
am using Java SE 6, then all packages are exported with version=1.6. This is incorrect. Most
of the packages are versioned as per the JSRs they are defined by.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message