> And, in my experience watching work done with tools like 
> Gump, any time
> people do weird trickery with package names, like Sun 
> renaming some packages
> from x.y.z to com.sun.x.y.z, this inevitably seems to cause 
> lots of problems
> somewhere down the line.

Exactly. Remember the howls of protest when Sun changed the Swing package names 
from com.sun.java.swing to javax.swing? They wanted Swing to be part of the 
core JDK, but there couldn't be any com.sun packages in the core JDK, so they 
had to find a way to bring a new package into the JDK. The javax.* namespace 
was created precisely *because* renaming packages is such a PITA - this 
provided a way for anybody to write an extension to the Java libraries in such 
a way that they could eventually make it into the core libraries.

The fact is, when package names change, it's just way too much trouble to keep 
up to date. I bet there is still JDK1.1 code out there using the old Swing 
package names even today.

Colin Sharples
IBM Advisory IT Specialist
Email: [EMAIL PROTECTED]
Mobile: +64 21 402 085
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to