From 01be71f629baedd6cc0018b8b4305093c6c91c8a Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 10 Feb 2011 22:52:59 +0000 Subject: PR336880 PR336774 PR336745 --- tests/bugs1611/pr336774/First.java | 7 +++++++ tests/bugs1611/pr336774/One.java | 7 +++++++ tests/bugs1611/pr336774/Test.java | 5 +++++ tests/bugs1611/pr336774/Two.java | 5 +++++ 4 files changed, 24 insertions(+) create mode 100644 tests/bugs1611/pr336774/First.java create mode 100644 tests/bugs1611/pr336774/One.java create mode 100644 tests/bugs1611/pr336774/Test.java create mode 100644 tests/bugs1611/pr336774/Two.java (limited to 'tests/bugs1611/pr336774') diff --git a/tests/bugs1611/pr336774/First.java b/tests/bugs1611/pr336774/First.java new file mode 100644 index 000000000..8e6b9c464 --- /dev/null +++ b/tests/bugs1611/pr336774/First.java @@ -0,0 +1,7 @@ +interface NodeBacked { +// T projectTo(Class cts); +} + +aspect X { + public T NodeBacked.projectTo(Class cts) {return null;} +} diff --git a/tests/bugs1611/pr336774/One.java b/tests/bugs1611/pr336774/One.java new file mode 100644 index 000000000..095a51078 --- /dev/null +++ b/tests/bugs1611/pr336774/One.java @@ -0,0 +1,7 @@ +interface NodeBacked2 { + Object projectTo(Class cts); +} + +aspect X { + public Object NodeBacked2.projectTo(Class cts) {return null;} +} diff --git a/tests/bugs1611/pr336774/Test.java b/tests/bugs1611/pr336774/Test.java new file mode 100644 index 000000000..9b2e16eba --- /dev/null +++ b/tests/bugs1611/pr336774/Test.java @@ -0,0 +1,5 @@ +class Test implements NodeBacked { + public void test() { + projectTo(null); + } +} diff --git a/tests/bugs1611/pr336774/Two.java b/tests/bugs1611/pr336774/Two.java new file mode 100644 index 000000000..01ce9ec12 --- /dev/null +++ b/tests/bugs1611/pr336774/Two.java @@ -0,0 +1,5 @@ +class Two implements NodeBacked2 { + public void test() { + projectTo(null); + } +} -- cgit v1.2.3