From 8bf125c6631e4b6041f24067717aba4502f4713e Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 17 Jun 2008 18:06:24 +0000 Subject: [PATCH] 237419: testcode --- tests/bugs161/pr237419/problem/Generic.java | 5 +++++ tests/bugs161/pr237419/problem/GenericService.java | 5 +++++ tests/bugs161/pr237419/problem/Specific.java | 5 +++++ tests/bugs161/pr237419/problem/SpecificService.java | 12 ++++++++++++ tests/bugs161/pr237419/problem/aspect/AnyAspect.java | 8 ++++++++ 5 files changed, 35 insertions(+) create mode 100644 tests/bugs161/pr237419/problem/Generic.java create mode 100644 tests/bugs161/pr237419/problem/GenericService.java create mode 100644 tests/bugs161/pr237419/problem/Specific.java create mode 100644 tests/bugs161/pr237419/problem/SpecificService.java create mode 100644 tests/bugs161/pr237419/problem/aspect/AnyAspect.java 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 { + +} 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> { + 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 { + +} 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 { + @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 { +} -- 2.39.5