diff options
author | Andy Clement <aclement@pivotal.io> | 2015-06-25 13:20:02 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2015-06-25 13:20:02 -0700 |
commit | 451a29f0fd2e55e7e2c1e54a6ae9d01a42b7b128 (patch) | |
tree | 69e901acc4be576af1eb2f7a5253b54c1eaec7f7 /tests/bugs187/469889 | |
parent | 6b93a91e234dcf4286b168421fd88484d1c855ad (diff) | |
download | aspectj-451a29f0fd2e55e7e2c1e54a6ae9d01a42b7b128.tar.gz aspectj-451a29f0fd2e55e7e2c1e54a6ae9d01a42b7b128.zip |
AspectJ upgraded to Mars compiler
Diffstat (limited to 'tests/bugs187/469889')
-rw-r--r-- | tests/bugs187/469889/A.java | 5 | ||||
-rw-r--r-- | tests/bugs187/469889/AbstractA.java | 5 | ||||
-rw-r--r-- | tests/bugs187/469889/B.java | 6 | ||||
-rw-r--r-- | tests/bugs187/469889/BImpl.java | 5 | ||||
-rw-r--r-- | tests/bugs187/469889/Code.java | 31 | ||||
-rw-r--r-- | tests/bugs187/469889/Main.java | 11 | ||||
-rw-r--r-- | tests/bugs187/469889/outa/A.class | bin | 0 -> 270 bytes | |||
-rw-r--r-- | tests/bugs187/469889/outa/AbstractA.class | bin | 0 -> 389 bytes | |||
-rw-r--r-- | tests/bugs187/469889/outa/B.class | bin | 0 -> 377 bytes | |||
-rw-r--r-- | tests/bugs187/469889/outa/BImpl.class | bin | 0 -> 298 bytes | |||
-rw-r--r-- | tests/bugs187/469889/outa/Code.class | bin | 0 -> 757 bytes | |||
-rw-r--r-- | tests/bugs187/469889/outj/A.class | bin | 0 -> 207 bytes | |||
-rw-r--r-- | tests/bugs187/469889/outj/AbstractA.class | bin | 0 -> 267 bytes | |||
-rw-r--r-- | tests/bugs187/469889/outj/B.class | bin | 0 -> 340 bytes | |||
-rw-r--r-- | tests/bugs187/469889/outj/BImpl.class | bin | 0 -> 242 bytes | |||
-rw-r--r-- | tests/bugs187/469889/outj/Code.class | bin | 0 -> 497 bytes |
16 files changed, 63 insertions, 0 deletions
diff --git a/tests/bugs187/469889/A.java b/tests/bugs187/469889/A.java new file mode 100644 index 000000000..e2052242d --- /dev/null +++ b/tests/bugs187/469889/A.java @@ -0,0 +1,5 @@ + + +public interface A<T> { + T getValue(); +} diff --git a/tests/bugs187/469889/AbstractA.java b/tests/bugs187/469889/AbstractA.java new file mode 100644 index 000000000..a10937c12 --- /dev/null +++ b/tests/bugs187/469889/AbstractA.java @@ -0,0 +1,5 @@ + + +public abstract class AbstractA<T> implements A<T> { + +} diff --git a/tests/bugs187/469889/B.java b/tests/bugs187/469889/B.java new file mode 100644 index 000000000..cf0d79da3 --- /dev/null +++ b/tests/bugs187/469889/B.java @@ -0,0 +1,6 @@ +public interface B extends A<String> { + @Override + default String getValue() { + return "B"; + } +} diff --git a/tests/bugs187/469889/BImpl.java b/tests/bugs187/469889/BImpl.java new file mode 100644 index 000000000..69469c816 --- /dev/null +++ b/tests/bugs187/469889/BImpl.java @@ -0,0 +1,5 @@ + + +public class BImpl extends AbstractA<String> implements B { + +} diff --git a/tests/bugs187/469889/Code.java b/tests/bugs187/469889/Code.java new file mode 100644 index 000000000..1319ecfa2 --- /dev/null +++ b/tests/bugs187/469889/Code.java @@ -0,0 +1,31 @@ +interface A<T> { + T getValue(); +} + + +/* +abstract class AbstractA<T> implements A<T> { +} +*/ + +interface B extends A<String> { + @Override + default String getValue() { + return "B"; + } +} + + +/* +class BImpl extends AbstractA<String> implements B { + +} + +public class Code { + public static void main(final String[] args) { + final A<String> object1 = new BImpl(); + System.out.println(object1.getValue()); + } +} + +*/ diff --git a/tests/bugs187/469889/Main.java b/tests/bugs187/469889/Main.java new file mode 100644 index 000000000..d229b8f06 --- /dev/null +++ b/tests/bugs187/469889/Main.java @@ -0,0 +1,11 @@ + +/** + * @author Hugh Eaves + * + */ +public class Main { + public static void main(final String[] args) { + final A<String> object1 = new BImpl(); + System.out.println(object1.getValue()); + } +} diff --git a/tests/bugs187/469889/outa/A.class b/tests/bugs187/469889/outa/A.class Binary files differnew file mode 100644 index 000000000..7d4c0d824 --- /dev/null +++ b/tests/bugs187/469889/outa/A.class diff --git a/tests/bugs187/469889/outa/AbstractA.class b/tests/bugs187/469889/outa/AbstractA.class Binary files differnew file mode 100644 index 000000000..25f5d826d --- /dev/null +++ b/tests/bugs187/469889/outa/AbstractA.class diff --git a/tests/bugs187/469889/outa/B.class b/tests/bugs187/469889/outa/B.class Binary files differnew file mode 100644 index 000000000..cf254f4da --- /dev/null +++ b/tests/bugs187/469889/outa/B.class diff --git a/tests/bugs187/469889/outa/BImpl.class b/tests/bugs187/469889/outa/BImpl.class Binary files differnew file mode 100644 index 000000000..54052f493 --- /dev/null +++ b/tests/bugs187/469889/outa/BImpl.class diff --git a/tests/bugs187/469889/outa/Code.class b/tests/bugs187/469889/outa/Code.class Binary files differnew file mode 100644 index 000000000..1b624cd99 --- /dev/null +++ b/tests/bugs187/469889/outa/Code.class diff --git a/tests/bugs187/469889/outj/A.class b/tests/bugs187/469889/outj/A.class Binary files differnew file mode 100644 index 000000000..3a408a678 --- /dev/null +++ b/tests/bugs187/469889/outj/A.class diff --git a/tests/bugs187/469889/outj/AbstractA.class b/tests/bugs187/469889/outj/AbstractA.class Binary files differnew file mode 100644 index 000000000..45265eb29 --- /dev/null +++ b/tests/bugs187/469889/outj/AbstractA.class diff --git a/tests/bugs187/469889/outj/B.class b/tests/bugs187/469889/outj/B.class Binary files differnew file mode 100644 index 000000000..e36103876 --- /dev/null +++ b/tests/bugs187/469889/outj/B.class diff --git a/tests/bugs187/469889/outj/BImpl.class b/tests/bugs187/469889/outj/BImpl.class Binary files differnew file mode 100644 index 000000000..35ecd481e --- /dev/null +++ b/tests/bugs187/469889/outj/BImpl.class diff --git a/tests/bugs187/469889/outj/Code.class b/tests/bugs187/469889/outj/Code.class Binary files differnew file mode 100644 index 000000000..7ab343cc4 --- /dev/null +++ b/tests/bugs187/469889/outj/Code.class |