2009/4/27 Sahoo <[email protected]> > I have a question about DynamicImport-Package and the pattern matching done > using "*." I have a bundle which has the following manifest attributes: > > Bundle 2 > -------- > DynamicImport-Package = javax.crypto.interfaces.* > Import-Package = org.osgi.framework > Bundle-SymbolicName = foo > Bundle-Activator = sahoo.Activator > > Question is should javax.crypto.interfaces.* match javax.crypto.interfaces > package or not? Felix 1.6.0 seems to match it as the following shell command > output confirms: > > -> imports 2 > foo [2] imports: > ---------------- > org.osgi.framework; version=1.4.0 -> org.apache.felix.framework [0] > javax.crypto.interfaces; version=1.6.0 -> org.apache.felix.framework [0] > > Is it another bug like https://issues.apache.org/jira/browse/FELIX-1034? >
I think so, from the discussions on the osgi-dev list it shouldn't match (no point in having wildcards behave differently in two places!) > Thanks, > Sahoo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Cheers, Stuart

