diff options
Diffstat (limited to 'tests/bugs163')
-rw-r--r-- | tests/bugs163/pr259279/Aspect.java | 1 | ||||
-rw-r--r-- | tests/bugs163/pr259279/GenericService.java | 4 | ||||
-rw-r--r-- | tests/bugs163/pr259279/GenericServiceImpl.java | 5 | ||||
-rw-r--r-- | tests/bugs163/pr259279/Main.java | 6 | ||||
-rw-r--r-- | tests/bugs163/pr259279/SomeInterface.java | 2 | ||||
-rw-r--r-- | tests/bugs163/pr259279/SomeServiceImpl.java | 6 |
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) { + } +} + |