aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs187/469889
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2015-06-25 13:20:02 -0700
committerAndy Clement <aclement@pivotal.io>2015-06-25 13:20:02 -0700
commit451a29f0fd2e55e7e2c1e54a6ae9d01a42b7b128 (patch)
tree69e901acc4be576af1eb2f7a5253b54c1eaec7f7 /tests/bugs187/469889
parent6b93a91e234dcf4286b168421fd88484d1c855ad (diff)
downloadaspectj-451a29f0fd2e55e7e2c1e54a6ae9d01a42b7b128.tar.gz
aspectj-451a29f0fd2e55e7e2c1e54a6ae9d01a42b7b128.zip
AspectJ upgraded to Mars compiler
Diffstat (limited to 'tests/bugs187/469889')
-rw-r--r--tests/bugs187/469889/A.java5
-rw-r--r--tests/bugs187/469889/AbstractA.java5
-rw-r--r--tests/bugs187/469889/B.java6
-rw-r--r--tests/bugs187/469889/BImpl.java5
-rw-r--r--tests/bugs187/469889/Code.java31
-rw-r--r--tests/bugs187/469889/Main.java11
-rw-r--r--tests/bugs187/469889/outa/A.classbin0 -> 270 bytes
-rw-r--r--tests/bugs187/469889/outa/AbstractA.classbin0 -> 389 bytes
-rw-r--r--tests/bugs187/469889/outa/B.classbin0 -> 377 bytes
-rw-r--r--tests/bugs187/469889/outa/BImpl.classbin0 -> 298 bytes
-rw-r--r--tests/bugs187/469889/outa/Code.classbin0 -> 757 bytes
-rw-r--r--tests/bugs187/469889/outj/A.classbin0 -> 207 bytes
-rw-r--r--tests/bugs187/469889/outj/AbstractA.classbin0 -> 267 bytes
-rw-r--r--tests/bugs187/469889/outj/B.classbin0 -> 340 bytes
-rw-r--r--tests/bugs187/469889/outj/BImpl.classbin0 -> 242 bytes
-rw-r--r--tests/bugs187/469889/outj/Code.classbin0 -> 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
new file mode 100644
index 000000000..7d4c0d824
--- /dev/null
+++ b/tests/bugs187/469889/outa/A.class
Binary files differ
diff --git a/tests/bugs187/469889/outa/AbstractA.class b/tests/bugs187/469889/outa/AbstractA.class
new file mode 100644
index 000000000..25f5d826d
--- /dev/null
+++ b/tests/bugs187/469889/outa/AbstractA.class
Binary files differ
diff --git a/tests/bugs187/469889/outa/B.class b/tests/bugs187/469889/outa/B.class
new file mode 100644
index 000000000..cf254f4da
--- /dev/null
+++ b/tests/bugs187/469889/outa/B.class
Binary files differ
diff --git a/tests/bugs187/469889/outa/BImpl.class b/tests/bugs187/469889/outa/BImpl.class
new file mode 100644
index 000000000..54052f493
--- /dev/null
+++ b/tests/bugs187/469889/outa/BImpl.class
Binary files differ
diff --git a/tests/bugs187/469889/outa/Code.class b/tests/bugs187/469889/outa/Code.class
new file mode 100644
index 000000000..1b624cd99
--- /dev/null
+++ b/tests/bugs187/469889/outa/Code.class
Binary files differ
diff --git a/tests/bugs187/469889/outj/A.class b/tests/bugs187/469889/outj/A.class
new file mode 100644
index 000000000..3a408a678
--- /dev/null
+++ b/tests/bugs187/469889/outj/A.class
Binary files differ
diff --git a/tests/bugs187/469889/outj/AbstractA.class b/tests/bugs187/469889/outj/AbstractA.class
new file mode 100644
index 000000000..45265eb29
--- /dev/null
+++ b/tests/bugs187/469889/outj/AbstractA.class
Binary files differ
diff --git a/tests/bugs187/469889/outj/B.class b/tests/bugs187/469889/outj/B.class
new file mode 100644
index 000000000..e36103876
--- /dev/null
+++ b/tests/bugs187/469889/outj/B.class
Binary files differ
diff --git a/tests/bugs187/469889/outj/BImpl.class b/tests/bugs187/469889/outj/BImpl.class
new file mode 100644
index 000000000..35ecd481e
--- /dev/null
+++ b/tests/bugs187/469889/outj/BImpl.class
Binary files differ
diff --git a/tests/bugs187/469889/outj/Code.class b/tests/bugs187/469889/outj/Code.class
new file mode 100644
index 000000000..7ab343cc4
--- /dev/null
+++ b/tests/bugs187/469889/outj/Code.class
Binary files differ