dev@glassfish.java.net

java.* - import first or last?

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Wed, 08 Dec 2010 22:13:26 -0800

I always include imports of java.* classes first. If there's any sort of
naming conflict, I want the standard classes, not the product-specific
classes of the same name. If I see "List", I really don't want to wonder
whether it's java.util.List or some other List.

But I see a bunch of code that imports the java.* classes last.

Why?