On Wednesday 02 January 2008 02:42, Felix Meschberger wrote: > If I understand it correctly, listing a package in the "uses" directive > is not required, as long as the package does not occurr in any method > signature or field type. In fact, I think the use of the org.sample.impl > package is an implementation detail, which should not be "leaked" into > the Export-Package statement.
I am of the same understanding as you, and I have noticed this behavior of BND as well, but as Stuart points out, it doesn't "hurt" other than the extremely large Export-Package entries. Perhaps Kriens can provide a motivation. I suspect that BND is just collecting all, and just doesn't have a last pass where only the private packages are discarded from the uses lists. Should be fairly simple to add... :o) Cheers -- Niclas Hedhman, Software Developer I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug
