summaryrefslogtreecommitdiffstats
path: root/tests/bugs163
diff options
context:
space:
mode:
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) {
+ }
+}
+