javaclass

Changeset

58:7fcd2c0918c7
2004-11-15 Paul Boddie raw files shortlog changelog graph Added a test of class loading and superclass presence.
tests/ValueSubclass.java (file)
     1.1 --- a/tests/ValueSubclass.java	Sun Nov 14 22:47:39 2004 +0100
     1.2 +++ b/tests/ValueSubclass.java	Mon Nov 15 00:54:28 2004 +0100
     1.3 @@ -30,3 +30,12 @@
     1.4          this.value = v.getValue();
     1.5      }
     1.6  }
     1.7 +
     1.8 +// This should confuse the importer since it should be read before Value in
     1.9 +// alphabetical order.
    1.10 +
    1.11 +class SubclassValue extends Value {
    1.12 +    public SubclassValue(int x) {
    1.13 +        super(x);
    1.14 +    }
    1.15 +}