You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Niclas Hedhman <ni...@hedhman.org> on 2006/06/07 08:34:26 UTC
Exported JRE packages
Gang,
AFAICT, Felix only exports the following packages from the JRE;
javax.swing
javax.swing.plaf
javax.swing.event
javax.swing.table
javax.swing.border
javax.swing.tree
javax.swing.text
org.w3c.dom
org.xml.sax
javax.xml.parsers
javax.imageio
whereas Equinox exports an enormous list (not suitable to paste in here) of
most things under the JDK1.4 official packages.
Is there any reason for the two different approaches? Performance? Memory?
Cheers
Niclas
Re: Exported JRE packages
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Niclas Hedhman wrote:
> Knopflerfish have 3 files containing these for JDK1.3, JDK1.4 and JDK1.5.
> Could start with those and respond to errors...
Yep, that is what we would need. Then we just need to implement a way in
config.properties to be able to enable/disable properties and we should
be good to go. I will add a JIRA issue.
-> richard
Re: Exported JRE packages
Posted by Niclas Hedhman <ni...@hedhman.org>.
On Wednesday 07 June 2006 15:51, Richard S. Hall wrote:
> No real reason. Just laziness. :-)
Ok.
> We can't just have one set of exported packages, since it will change
> based on the JRE platform...unless we adopt a lowest common denominator
> set of packages, would might be reasonable too.
Knopflerfish have 3 files containing these for JDK1.3, JDK1.4 and JDK1.5.
Could start with those and respond to errors...
Cheers
Niclas
Re: Exported JRE packages
Posted by "Richard S. Hall" <he...@ungoverned.org>.
Niclas Hedhman wrote:
> Gang,
>
> AFAICT, Felix only exports the following packages from the JRE;
> javax.swing
> javax.swing.plaf
> javax.swing.event
> javax.swing.table
> javax.swing.border
> javax.swing.tree
> javax.swing.text
> org.w3c.dom
> org.xml.sax
> javax.xml.parsers
> javax.imageio
>
> whereas Equinox exports an enormous list (not suitable to paste in here) of
> most things under the JDK1.4 official packages.
>
> Is there any reason for the two different approaches? Performance? Memory?
No real reason. Just laziness. :-)
The current set of package is ones that are needed by existing Felix
bundles.
I think there was a little bit of discussion about this before, but what
we need is either:
1. Some way to auto-generate this list.
2. Different sets of manually created JRE packages and we just choose
the right one based on the platform.
We can't just have one set of exported packages, since it will change
based on the JRE platform...unless we adopt a lowest common denominator
set of packages, would might be reasonable too.
-> richard