[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Importing of javax packages


I agree, but we will need to import javax.microedition.io as optional and dynamic the same way javax.servlet packages are imported in org.eclipse.osgi.services.  This allows for late binding of the javax.microedition.io package if it is installed later.

Tom



Pavlin Dobrev <p.dobrev@xxxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx

07/06/2007 04:46 AM

Please respond to
Pavlin Dobrev <p.dobrev@xxxxxxxxxxx>; Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

To
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
cc
Subject
[equinox-dev] Importing of javax packages





Hi all,

I do some testing with OSGi test cases on equinox
( org.osgi.test.cases.signature.cpeg.jar and
org.osgi.test.cases.signature.mobile.jar) and found that currently
they are some missing imports:

1. org.eclipse.osgi.util does'nt import javax.xml.parsers used from
org.osgi.util.xml.XMLParserActivator
2. org.eclipse.osgi.services  does'nt import javax.microedition.io
used from ConnectionFactory and ConnectorService in org.osgi.service.io package

There is no problem test cases to pass if
org.osgi.framework.bootdelegation=* ( see
http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.isv/porting/3.3/incompatibilities.html).

According to the section 3.8.3 Parent Delegation from OSGi Service Platform
Core Specification Release 4, Version 4.1
"The Framework must always delegate any package that starts with java. to
the parent class loader.".

My personal opinion is that required import must be added to the
corresponding bundles. What do you think?

-Pavlin
-----------------------------------------------------
Pavlin Dobrev · Research and Development Manager
ProSyst Labs EOOD
1606 Sofia, Bulgaria · 48 Vladajska Str.
Tel. (+359 2) 954 91 62 . Fax. (+359 2) 953 26 17
http://www.prosyst.com · p.dobrev@xxxxxxxxxxx
-----------------------------------------------------
stay in touch with your product.
-----------------------------------------------------

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev