aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs163
diff options
context:
space:
mode:
authoraclement <aclement>2008-12-18 17:56:43 +0000
committeraclement <aclement>2008-12-18 17:56:43 +0000
commite62cc6cf8dd6b455afd8bd0792de2199addb63b8 (patch)
treefac255f338bacd09f54c14c7d7d0bf74f8fd7f2e /tests/bugs163
parentb9630d7479b2102734df9eeb06d303e099645274 (diff)
downloadaspectj-e62cc6cf8dd6b455afd8bd0792de2199addb63b8.tar.gz
aspectj-e62cc6cf8dd6b455afd8bd0792de2199addb63b8.zip
259279: test and fix: bridge pipeline
Diffstat (limited to 'tests/bugs163')
-rw-r--r--tests/bugs163/pr259279/Aspect.java1
-rw-r--r--tests/bugs163/pr259279/GenericService.java4
-rw-r--r--tests/bugs163/pr259279/GenericServiceImpl.java5
-rw-r--r--tests/bugs163/pr259279/Main.java6
-rw-r--r--tests/bugs163/pr259279/SomeInterface.java2
-rw-r--r--tests/bugs163/pr259279/SomeServiceImpl.java6
6 files changed, 24 insertions, 0 deletions
diff --git a/tests/bugs163/pr259279/Aspect.java b/tests/bugs163/pr259279/Aspect.java
new file mode 100644
index 000000000..9c6d898b5
--- /dev/null
+++ b/tests/bugs163/pr259279/Aspect.java
@@ -0,0 +1 @@
+public aspect Aspect pertypewithin(*){}
diff --git a/tests/bugs163/pr259279/GenericService.java b/tests/bugs163/pr259279/GenericService.java
new file mode 100644
index 000000000..6fdd7a4fd
--- /dev/null
+++ b/tests/bugs163/pr259279/GenericService.java
@@ -0,0 +1,4 @@
+public interface GenericService<T extends SomeInterface> {
+ public void doStuff(T t);
+}
+
diff --git a/tests/bugs163/pr259279/GenericServiceImpl.java b/tests/bugs163/pr259279/GenericServiceImpl.java
new file mode 100644
index 000000000..3b38bb4d3
--- /dev/null
+++ b/tests/bugs163/pr259279/GenericServiceImpl.java
@@ -0,0 +1,5 @@
+public class GenericServiceImpl<T extends SomeInterface> implements
+GenericService<T> {
+ public void doStuff(T t) {}
+}
+
diff --git a/tests/bugs163/pr259279/Main.java b/tests/bugs163/pr259279/Main.java
new file mode 100644
index 000000000..bcda99e82
--- /dev/null
+++ b/tests/bugs163/pr259279/Main.java
@@ -0,0 +1,6 @@
+public class Main {
+ public static void main(String[] args) {
+ new SomeServiceImpl();
+ }
+}
+
diff --git a/tests/bugs163/pr259279/SomeInterface.java b/tests/bugs163/pr259279/SomeInterface.java
new file mode 100644
index 000000000..b1039b8d2
--- /dev/null
+++ b/tests/bugs163/pr259279/SomeInterface.java
@@ -0,0 +1,2 @@
+public interface SomeInterface {}
+
diff --git a/tests/bugs163/pr259279/SomeServiceImpl.java b/tests/bugs163/pr259279/SomeServiceImpl.java
new file mode 100644
index 000000000..96ac4e4d0
--- /dev/null
+++ b/tests/bugs163/pr259279/SomeServiceImpl.java
@@ -0,0 +1,6 @@
+public class SomeServiceImpl extends GenericServiceImpl<SomeInterface> {
+ @Override
+ public void doStuff(SomeInterface someInterface) {
+ }
+}
+