aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bugs164/pr263666/x/A.java7
-rw-r--r--tests/bugs164/pr263666/x/B.java13
-rw-r--r--tests/bugs164/pr263666/x/OverrideOptions.aj32
3 files changed, 52 insertions, 0 deletions
diff --git a/tests/bugs164/pr263666/x/A.java b/tests/bugs164/pr263666/x/A.java
new file mode 100644
index 000000000..80fd124c3
--- /dev/null
+++ b/tests/bugs164/pr263666/x/A.java
@@ -0,0 +1,7 @@
+package x;
+
+public class A {
+ public boolean a() {
+ return false;
+ }
+}
diff --git a/tests/bugs164/pr263666/x/B.java b/tests/bugs164/pr263666/x/B.java
new file mode 100644
index 000000000..72c1961b8
--- /dev/null
+++ b/tests/bugs164/pr263666/x/B.java
@@ -0,0 +1,13 @@
+package x;
+
+public class B {
+ private int b() {
+ return b();
+ }
+
+ @Override
+ protected Object clone() throws CloneNotSupportedException {
+ b();
+ return super.clone();
+ }
+}
diff --git a/tests/bugs164/pr263666/x/OverrideOptions.aj b/tests/bugs164/pr263666/x/OverrideOptions.aj
new file mode 100644
index 000000000..cccc7798a
--- /dev/null
+++ b/tests/bugs164/pr263666/x/OverrideOptions.aj
@@ -0,0 +1,32 @@
+package x;
+public aspect OverrideOptions
+{
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ /**
+ * Comment A
+ */
+ boolean around() : execution( public boolean A.a() ) && this( A )
+ {
+ return false;
+ }
+ /**
+ * Comment B
+ */
+ int around() : execution(private int B.b(..)) && this(B){
+ return 0;
+ }
+} \ No newline at end of file