One thought...
Could this be because of the workaround for the JavaDoc bug where packages that are empty produce no doco at the package level? The 'java' package has package-level doco (ie, the welcome screen on the
API, but I don't think the javax package does.
If that's the case, maybe 'import java.*' is allowed because you import one undocumented class with no public constructors, and 'import javax.*' is illegal because there are no classes directly in javax. (That said, is it illegal to import an empty "package", I couldn't work it out from the
JLS Anyway, just a thought - I would have thought that this bug'd be fixed by the release of the 1.5 API, maybe I'll check the bug parade later...
--Tim