diff options
author | aclement <aclement> | 2011-08-17 15:37:34 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-08-17 15:37:34 +0000 |
commit | 9b5b731ed004703c148340059496f8b5eda76928 (patch) | |
tree | 52d409b72a6b9b300cc42a0ed8d25083cbc74fde /tests/bugs1612 | |
parent | ebda2ae7303eac60fcca51e14f08254320305ebf (diff) | |
download | aspectj-9b5b731ed004703c148340059496f8b5eda76928.tar.gz aspectj-9b5b731ed004703c148340059496f8b5eda76928.zip |
354683
Diffstat (limited to 'tests/bugs1612')
9 files changed, 52 insertions, 0 deletions
diff --git a/tests/bugs1612/pr354683/main/AbstractBaseClass.java b/tests/bugs1612/pr354683/main/AbstractBaseClass.java new file mode 100644 index 000000000..d885d5fc2 --- /dev/null +++ b/tests/bugs1612/pr354683/main/AbstractBaseClass.java @@ -0,0 +1,12 @@ +package main; + +import util.DerivedCommonDataInterfaceImpl; + + +/** +* NOTE: for iajc failure to occur this class has to be +* 1st - parametrized +* 2nd - abstract +* whether or not its subclasses specifie the type parameter does not matter +*/ +public abstract class AbstractBaseClass <T extends Whatever> implements DerivedCommonDataInterfaceImpl {} diff --git a/tests/bugs1612/pr354683/main/DerivedClass.java b/tests/bugs1612/pr354683/main/DerivedClass.java new file mode 100644 index 000000000..e8e891927 --- /dev/null +++ b/tests/bugs1612/pr354683/main/DerivedClass.java @@ -0,0 +1,3 @@ +package main; + +public class DerivedClass extends AbstractBaseClass {} diff --git a/tests/bugs1612/pr354683/main/Whatever.java b/tests/bugs1612/pr354683/main/Whatever.java new file mode 100644 index 000000000..0dc327133 --- /dev/null +++ b/tests/bugs1612/pr354683/main/Whatever.java @@ -0,0 +1,5 @@ +package main; + +public class Whatever { + +} diff --git a/tests/bugs1612/pr354683/util/CommonData.java b/tests/bugs1612/pr354683/util/CommonData.java new file mode 100644 index 000000000..8e13cb11c --- /dev/null +++ b/tests/bugs1612/pr354683/util/CommonData.java @@ -0,0 +1,5 @@ +package util; + +public interface CommonData { + void getData(); +} diff --git a/tests/bugs1612/pr354683/util/CommonDataImpl.java b/tests/bugs1612/pr354683/util/CommonDataImpl.java new file mode 100644 index 000000000..edabda4d3 --- /dev/null +++ b/tests/bugs1612/pr354683/util/CommonDataImpl.java @@ -0,0 +1,6 @@ +package util; + + +public interface CommonDataImpl extends CommonData { + +} diff --git a/tests/bugs1612/pr354683/util/CommonDataImplementation.aj b/tests/bugs1612/pr354683/util/CommonDataImplementation.aj new file mode 100644 index 000000000..9b482cbc9 --- /dev/null +++ b/tests/bugs1612/pr354683/util/CommonDataImplementation.aj @@ -0,0 +1,6 @@ +package util; + +public aspect CommonDataImplementation { + public void CommonDataImpl.getData() { + } +} diff --git a/tests/bugs1612/pr354683/util/DerivedCommonDataInterface.java b/tests/bugs1612/pr354683/util/DerivedCommonDataInterface.java new file mode 100644 index 000000000..3b516ef63 --- /dev/null +++ b/tests/bugs1612/pr354683/util/DerivedCommonDataInterface.java @@ -0,0 +1,6 @@ +package util; + + +public interface DerivedCommonDataInterface extends CommonData { + void getDerivedData(); +} diff --git a/tests/bugs1612/pr354683/util/DerivedCommonDataInterfaceImpl.java b/tests/bugs1612/pr354683/util/DerivedCommonDataInterfaceImpl.java new file mode 100644 index 000000000..bcccd47d7 --- /dev/null +++ b/tests/bugs1612/pr354683/util/DerivedCommonDataInterfaceImpl.java @@ -0,0 +1,4 @@ +package util; + + +public interface DerivedCommonDataInterfaceImpl extends DerivedCommonDataInterface, CommonDataImpl {} diff --git a/tests/bugs1612/pr354683/util/DerivedCommonDataInterfaceImplementation.aj b/tests/bugs1612/pr354683/util/DerivedCommonDataInterfaceImplementation.aj new file mode 100644 index 000000000..6cbe393c2 --- /dev/null +++ b/tests/bugs1612/pr354683/util/DerivedCommonDataInterfaceImplementation.aj @@ -0,0 +1,5 @@ +package util; + +public aspect DerivedCommonDataInterfaceImplementation { + public void DerivedCommonDataInterfaceImpl.getDerivedData() {} +} |