aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'ajde/testdata')
-rw-r--r--ajde/testdata/bug-83565/Bug.java23
-rw-r--r--ajde/testdata/bug-83565/build.lst3
2 files changed, 26 insertions, 0 deletions
diff --git a/ajde/testdata/bug-83565/Bug.java b/ajde/testdata/bug-83565/Bug.java
new file mode 100644
index 000000000..44506e013
--- /dev/null
+++ b/ajde/testdata/bug-83565/Bug.java
@@ -0,0 +1,23 @@
+
+package mj.compiler.ast;
+
+import java.util.Vector;
+
+class Sequence<T extends AST> extends AST {
+
+ private Vector<T> elements = new Vector<T>();
+
+ public Sequence(T element) {
+// super(element);
+ elements.add(element);
+ }
+
+ public int length() { return elements.size(); }
+ public T elementAt(int i) { return elements.elementAt(i); }
+}
+
+class AST<T> {
+ public AST() { }
+
+ public AST(T element) { }
+} \ No newline at end of file
diff --git a/ajde/testdata/bug-83565/build.lst b/ajde/testdata/bug-83565/build.lst
new file mode 100644
index 000000000..95c39c932
--- /dev/null
+++ b/ajde/testdata/bug-83565/build.lst
@@ -0,0 +1,3 @@
+-1.5
+Bug.java
+