Oleg,
Are you certain that the Equinox you are running in doesn't have the boot delegation set to include org.w3c.*?
Rob
----- "Oleg Zhurakousky" <
oleg.zhurakousky@xxxxxxxxxxxxxxxx> wrote:
If I am reading the spec correctly only java.* are loaded from the
boot class path. All other packages must be declared
with explicit imports.
So something like this without
specifying org.osgi.framework.bootdelegation=org.w3c.*
public void start(BundleContext context) throws Exception {
System. out .println(Class.forName( "java.lang.String" ));
System. out .println(Class.forName( "org.w3c.dom.Attr" ));
}
should result in CNFE on the second line.
Well, it actually works just fine without bootdelegation option. I
figured I missed something, so may be some one can steer me in the
right direction.
Cheers
Oleg
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev
--
Rob Harrop
SpringSource
Registered in England & Wales - Registration Number 5187766
Registered Office: A2 Yeoman Gate, Yeoman Way, Worthing, West Sussex, BN13 3QZ, UK
This e-mail and any attachments transmitted with it are strictly confidential and intended solely for the person or entity to whom they are addressed. Unauthorised use, copying, disclosure or distribution is prohibited. If you receive this e-mail in error please notify the sender immediately and then delete it along with any attachments. E-mails should be checked by the recipient to ensure that there are no viruses and Interface21 does not accept any responsibility if this is not done. Any views or opinions presented are solely those of the author and do not necessarily represent those of Interface21.
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxxhttps://dev.eclipse.org/mailman/listinfo/equinox-dev