Well, actually I did mean that EF-S glass is poor

. I did not however mean that EF-S is not good enough for 8 megapixels. Much of the glass show resolution limits on the 18 megapixel 7D though, such that if you put in a lens with known high resolving power you see a clear improvement.
EF-S glass is not poor because there's some law of physics that makes it so (oh well the smaller image circle and the need for shorter focal lengths may make it a bit more difficult), but because in general it is expensive to manufacture high quality optics, and EF-S is made for APS-C, and APS-C is in the low cost segment so the lenses should be cheap too. Of course, some of the EF-S lenses are not exactly cheap, such as the 17-55mm f/2.8, but still cheaper than the corresponding full-frame glass.
If only looking at resolving power there are indeed low cost lenses that are very sharp, such as the 50mm. Some focal lengths are easier to make sharp than others, just because you there's a cheap 50mm it does not mean you can make a sharp cheap 24mm (it's about the distance to the image plane and other factors).
With the 50mm, the cheap ones are actually sharper than the L version on small apertures, so they are great landscape lenses. There are a fair amount of less-than-sharp L lenses, but those are not so much optimized for maximum resolution at f/5.6-f/8 but some other aspect such as ok sharpness and very nice bokeh at largest apertures. Afterall, really high resolving power is somewhat of a niche inhabitated by landscape photographers and others that don't shoot a single photograph without a tripod and a remote shutter release

.
The EF-S lenses are all zooms (except the macro 60mm), and as far as I know none of them is as sharp as the good old 24-70 f/2.8 L zoom even at f/8.
What you do if you want to get full use of the 7D's 18 megapixels is that you use some of the high resolution full-frame lenses. The larger image circle gives you the advantage of less vignetting and better corner performance. I'm quite sure that the "pro" APS-C models are intended to be used together with pro full-frame glass, so therefore it is ok with 18 megapixels.
However, 18 megapixels on an entry-level camera where the users will most likely use EF-S zooms is somewhat overkill, but probably unavoidable for marketing reasons -- resolution-as-a-number probably sells in the low end.
WarStreet said:
J. McCabe said:
If an EF-S lenses, including those that cost >U.S.$1,000, can't resolve 8MP (40% at the center of a 5Dmk2's sensor), it certainly can't resolve neither 10MP on an EOS 1000D nor 18MP on an EOS 7D. If this is true, it sounds bad for the Canon brand - either Canon spends too much on megapixels or it doesn't spend enough on low end glass.
Even the worst lenses can resolve without any problem any current SLR cameras and can resolve even higher detail with a new higher mp sensor. There are some myths out there which unfortunately confuse people which could lead them take wrong decisions on their purchase.