[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] Equinox boot delegation problem
- From: Stuart McCulloch <mcculls@xxxxxxxxx>
- Date: Mon, 13 Apr 2009 16:12:14 +0800
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=AlgjhLNvFLCJp4Q9IIndoKy+Vu6o07covXYU5cJAgZq5sUJrCYwxDOeTwTnjv1kDW3 Bxh6f76TSVkFQFq5EJqGO3+g6ZQYGheKLJEbayE0ZprbXqchKlWLivnyaST/TDmDK+3Q c1XslkFZnCOK8QOeXe28nP3NEWCtp7XDRFdxM=
2009/4/13 Richard S. Hall <heavy@xxxxxxxxxxxxxx>
This came up recently and we discussed it within CPEG. Felix is incorrect in interpreting sun.io.* as a match for sun.io.SomeClass.
good to get a definitive answer, will the wildcard wording be improved in the 4.2 spec?
In other words, sun.io.* matches sub-packages of sun.io, but not sun.io itself. This will be corrected in a future version of Felix.
so to match "org.foo" as well as it's sub-packages you should use "org.foo,org.foo.*"?
(because if you use "org.foo*" then that could match against "org.foobar" as well...)
On 4/13/09 2:48 AM, raks81 wrote:
I have a bundle that uses db2 driver to talk to the DB. This version of the
driver seems to be using classes from sun.io package. So when I add
org.osgi.framework.bootdelegation=sun.io.* equinox throws a NCDF error. But
when I change it to org.osgi.framework.bootdelegation=sun.* it seems to pick
the classes from sun.io just fine.
I am using Equinox 3.4.1 (launching using pax runner 0.17.2). JRE 1.5.
Felix seems to interpret org.osgi.framework.bootdelegation=sun.io.* just
Thanks in advance!