aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/testdata
diff options
context:
space:
mode:
authormkersten <mkersten>2005-01-27 17:21:17 +0000
committermkersten <mkersten>2005-01-27 17:21:17 +0000
commit5765d534a5437b624646ff20ca487346fa76a267 (patch)
treeb545e2e776441cf22f3cd06dfd164565ff700e60 /ajde/testdata
parent50bab658e3a610e89cd29d0e7312e3719a02e30c (diff)
downloadaspectj-5765d534a5437b624646ff20ca487346fa76a267.tar.gz
aspectj-5765d534a5437b624646ff20ca487346fa76a267.zip
Tests and fix for: Bug 83565
BCException "bad type name" thrown when compiling
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
+