aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs161
diff options
context:
space:
mode:
authoraclement <aclement>2008-06-17 18:06:24 +0000
committeraclement <aclement>2008-06-17 18:06:24 +0000
commit8bf125c6631e4b6041f24067717aba4502f4713e (patch)
tree94efac1e97dd427bafacfb892cf1fb11395ce2f9 /tests/bugs161
parent11ebdd83e542cc1412a0086bff4389b55c592de9 (diff)
downloadaspectj-8bf125c6631e4b6041f24067717aba4502f4713e.tar.gz
aspectj-8bf125c6631e4b6041f24067717aba4502f4713e.zip
237419: testcode
Diffstat (limited to 'tests/bugs161')
-rw-r--r--tests/bugs161/pr237419/problem/Generic.java5
-rw-r--r--tests/bugs161/pr237419/problem/GenericService.java5
-rw-r--r--tests/bugs161/pr237419/problem/Specific.java5
-rw-r--r--tests/bugs161/pr237419/problem/SpecificService.java12
-rw-r--r--tests/bugs161/pr237419/problem/aspect/AnyAspect.java8
5 files changed, 35 insertions, 0 deletions
diff --git a/tests/bugs161/pr237419/problem/Generic.java b/tests/bugs161/pr237419/problem/Generic.java
new file mode 100644
index 000000000..cc024ead6
--- /dev/null
+++ b/tests/bugs161/pr237419/problem/Generic.java
@@ -0,0 +1,5 @@
+package problem;
+
+public class Generic<T> {
+
+}
diff --git a/tests/bugs161/pr237419/problem/GenericService.java b/tests/bugs161/pr237419/problem/GenericService.java
new file mode 100644
index 000000000..2a216e46e
--- /dev/null
+++ b/tests/bugs161/pr237419/problem/GenericService.java
@@ -0,0 +1,5 @@
+package problem;
+
+public abstract class GenericService<T extends Generic<?>> {
+ protected abstract T update(T current);
+}
diff --git a/tests/bugs161/pr237419/problem/Specific.java b/tests/bugs161/pr237419/problem/Specific.java
new file mode 100644
index 000000000..162c0ab8c
--- /dev/null
+++ b/tests/bugs161/pr237419/problem/Specific.java
@@ -0,0 +1,5 @@
+package problem;
+
+public class Specific extends Generic<String> {
+
+}
diff --git a/tests/bugs161/pr237419/problem/SpecificService.java b/tests/bugs161/pr237419/problem/SpecificService.java
new file mode 100644
index 000000000..9cd3b1679
--- /dev/null
+++ b/tests/bugs161/pr237419/problem/SpecificService.java
@@ -0,0 +1,12 @@
+package problem;
+
+public class SpecificService extends GenericService<Specific> {
+ @Override
+ protected Specific update(Specific current) {
+ return null;
+ }
+
+ public static void main(String[] args) {
+ new SpecificService();
+ }
+}
diff --git a/tests/bugs161/pr237419/problem/aspect/AnyAspect.java b/tests/bugs161/pr237419/problem/aspect/AnyAspect.java
new file mode 100644
index 000000000..896610941
--- /dev/null
+++ b/tests/bugs161/pr237419/problem/aspect/AnyAspect.java
@@ -0,0 +1,8 @@
+package problem.aspect;
+
+import org.aspectj.lang.annotation.Aspect;
+
+//@Aspect public class AnyAspect {
+@Aspect
+public class AnyAspect {
+}