javaclass

tests/ConcreteClassTest.java

168:1f3fa26a27e2
2005-02-13 Paul Boddie Attempted to simplify the class loading mechanism by adding instance-level state to remember which classes have been imported so far. Only at the top level will such classes be created and initialised. Added a convenience method to ClassTranslator.
     1 public class ConcreteClassTest extends AbstractClassTest {     2     public static void main(String[] args) {     3         ConcreteClassTest test = new ConcreteClassTest();     4         if (test.member != null && test.member instanceof ConcreteClassTest) {     5             System.out.println("test.member correct: " + test.member);     6         } else {     7             System.err.println("test.member failed!");     8         }     9     }    10 }    11     12 // vim: tabstop=4 expandtab shiftwidth=4