void () { myFixture.addClass("package java.util; public class HashTable {}"); myFixture.addClass("package java.util; public class List {}"); myFixture.addClass("package java.awt; public class List { public static final int ABORT = 1; }"); myFixture.addClass("package java.awt; public class Component {}"); doTest("package test;" + "import java.util.*;" + "import java.awt.*;" + "import java.awt.List;" + "class Bar2 extends Component {" + " void foo() {" + " new Hashtable();" + " System.out.println(List.ABORT);" + " }" + "}"); }