[Uml-devel] java import problem

JP Fournier jfournier121 at rogers.com
Thu Jul 20 00:39:38 UTC 2006


Hi Folks,

I've noticed a problem with java import that I cannot see
an obvious solution for.  Normally java classes belong to
packages, like:


package test;

public class Test1 extends Test2{


}


package test;

public class Test2 {

}


The thing is that when Test1 is imported, it doesn't know that
Test2 is actually test.Test2.  If the above 2 classes are imported,
then I end up with 3 imported classes : test.Test1, test.Test2 and
Test2.  In this example test.Test1 is considered a subclass of Test2
instead of test.Test2.

Does anyone have any thoughts on how this could be solved?

regards

jp






More information about the umbrello-devel mailing list