tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
Subject Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core
Date Wed, 06 Nov 2002 11:55:50 GMT
In case you weren't joking ...

It can easily break compatibility if someone introduces a new class with 
the same class name as another class in a different package.

import foo.*; /* has class A */
import bar.*; /* has class B */

class Foo {
     A a;
     B b;

Imagine time going by and another developer creates another class called 
A in the bar package. The code above will not recompile because of the 
abiguous class name.


Costin Manolache wrote:
> BTW - what's evil in import * ? I never understood.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message