On 4/13/09 4:12 AM, Stuart McCulloch wrote:
2009/4/13 Richard S. Hall <heavy@xxxxxxxxxxxxxx>
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?
Not sure about that.
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
(because if you use "org.foo*" then that could match against
"org.foobar" as well...)
Yes, but I think only trailing package-level wildcards are supported,
e.g., org.foo.*, not org.foo*...