From 6629437ab7083aae89792a75e5bbc1ef71fd0a21 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 19 Mar 2008 23:32:58 +0000 Subject: [PATCH] 223226: testcode --- tests/bugs160/pr223226/AspectX.java | 5 +++++ tests/bugs160/pr223226/AspectXMarker.java | 4 ++++ tests/bugs160/pr223226/BInterface.java | 2 ++ tests/bugs160/pr223226/Foo.java | 2 ++ tests/bugs160/pr223226/FooInterface.java | 5 +++++ tests/bugs160/pr223226/Test.java | 9 +++++++++ 6 files changed, 27 insertions(+) create mode 100644 tests/bugs160/pr223226/AspectX.java create mode 100644 tests/bugs160/pr223226/AspectXMarker.java create mode 100644 tests/bugs160/pr223226/BInterface.java create mode 100644 tests/bugs160/pr223226/Foo.java create mode 100644 tests/bugs160/pr223226/FooInterface.java create mode 100644 tests/bugs160/pr223226/Test.java diff --git a/tests/bugs160/pr223226/AspectX.java b/tests/bugs160/pr223226/AspectX.java new file mode 100644 index 000000000..188be0ca2 --- /dev/null +++ b/tests/bugs160/pr223226/AspectX.java @@ -0,0 +1,5 @@ +public aspect AspectX +{ + public A AspectXMarker.doSomething(B b) { return null; } +} + diff --git a/tests/bugs160/pr223226/AspectXMarker.java b/tests/bugs160/pr223226/AspectXMarker.java new file mode 100644 index 000000000..7397de4e9 --- /dev/null +++ b/tests/bugs160/pr223226/AspectXMarker.java @@ -0,0 +1,4 @@ +public interface AspectXMarker > extends +FooInterface +{ } + diff --git a/tests/bugs160/pr223226/BInterface.java b/tests/bugs160/pr223226/BInterface.java new file mode 100644 index 000000000..790d4967c --- /dev/null +++ b/tests/bugs160/pr223226/BInterface.java @@ -0,0 +1,2 @@ +public interface BInterface { } + diff --git a/tests/bugs160/pr223226/Foo.java b/tests/bugs160/pr223226/Foo.java new file mode 100644 index 000000000..aa42921f2 --- /dev/null +++ b/tests/bugs160/pr223226/Foo.java @@ -0,0 +1,2 @@ +public class Foo> implements AspectXMarker +{} diff --git a/tests/bugs160/pr223226/FooInterface.java b/tests/bugs160/pr223226/FooInterface.java new file mode 100644 index 000000000..e4884ba47 --- /dev/null +++ b/tests/bugs160/pr223226/FooInterface.java @@ -0,0 +1,5 @@ +public interface FooInterface +{ + public A doSomething(B transition); +} + diff --git a/tests/bugs160/pr223226/Test.java b/tests/bugs160/pr223226/Test.java new file mode 100644 index 000000000..354916dcb --- /dev/null +++ b/tests/bugs160/pr223226/Test.java @@ -0,0 +1,9 @@ +public class Test +{ + public static void main(String[] args) + { + Foo> foo = new Foo>(); + + foo.doSomething(null); + } +} -- 2.39.5