javaclass

tests/AbstractClassTest.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 abstract class AbstractClassTest {     2     public static ConcreteClassTest member = new ConcreteClassTest();     3      4     public static void main(String[] args) {     5         if (AbstractClassTest.member != null) {     6             System.out.println("AbstractClassTest.member correct: " + AbstractClassTest.member);     7         } else {     8             System.err.println("AbstractClassTest.member failed!");     9         }    10     }    11 }    12     13 // vim: tabstop=4 expandtab shiftwidth=4