[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Bootdelegation question


Are you certain that the Equinox you are running in doesn't have the boot delegation set to include org.w3c.*?


----- "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

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.