aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs192
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2018-10-01 16:10:02 -0700
committerAndy Clement <aclement@pivotal.io>2018-10-01 16:10:02 -0700
commit749b9cb3ca8e4680fca4252b0d782b7154eccb75 (patch)
treec2abf1231aac79a08469c92b319b4882991bf3b7 /tests/bugs192
parentf6d9aaaf05eca3aaf06d3a769a83f302b0501dca (diff)
downloadaspectj-749b9cb3ca8e4680fca4252b0d782b7154eccb75.tar.gz
aspectj-749b9cb3ca8e4680fca4252b0d782b7154eccb75.zip
More fixes for 1.9.2V1_9_2_RC2
- update to more recent JDT to pickup Nestmates fix - bcel updated for NestMembers/NestHost attributes - testcases for nestmates
Diffstat (limited to 'tests/bugs192')
-rw-r--r--tests/bugs192/535156/DemoApp.classbin0 -> 2210 bytes
-rw-r--r--tests/bugs192/535156/X.classbin0 -> 1732 bytes
-rw-r--r--tests/bugs192/nestmates/Outer.java9
-rw-r--r--tests/bugs192/nestmates/Outer2$Inner2.classbin0 -> 919 bytes
-rw-r--r--tests/bugs192/nestmates/Outer2.classbin0 -> 1381 bytes
-rw-r--r--tests/bugs192/nestmates/Outer2.java21
-rw-r--r--tests/bugs192/nestmates/X.classbin0 -> 2894 bytes
7 files changed, 30 insertions, 0 deletions
diff --git a/tests/bugs192/535156/DemoApp.class b/tests/bugs192/535156/DemoApp.class
new file mode 100644
index 000000000..0a2a5f3ae
--- /dev/null
+++ b/tests/bugs192/535156/DemoApp.class
Binary files differ
diff --git a/tests/bugs192/535156/X.class b/tests/bugs192/535156/X.class
new file mode 100644
index 000000000..fce34aedc
--- /dev/null
+++ b/tests/bugs192/535156/X.class
Binary files differ
diff --git a/tests/bugs192/nestmates/Outer.java b/tests/bugs192/nestmates/Outer.java
new file mode 100644
index 000000000..42a102c68
--- /dev/null
+++ b/tests/bugs192/nestmates/Outer.java
@@ -0,0 +1,9 @@
+public class Outer {
+ private int i = 0;
+
+ public class Inner {
+ public int i() {
+ return i;
+ }
+ }
+}
diff --git a/tests/bugs192/nestmates/Outer2$Inner2.class b/tests/bugs192/nestmates/Outer2$Inner2.class
new file mode 100644
index 000000000..cccfb99d3
--- /dev/null
+++ b/tests/bugs192/nestmates/Outer2$Inner2.class
Binary files differ
diff --git a/tests/bugs192/nestmates/Outer2.class b/tests/bugs192/nestmates/Outer2.class
new file mode 100644
index 000000000..15192992d
--- /dev/null
+++ b/tests/bugs192/nestmates/Outer2.class
Binary files differ
diff --git a/tests/bugs192/nestmates/Outer2.java b/tests/bugs192/nestmates/Outer2.java
new file mode 100644
index 000000000..de5dc10f6
--- /dev/null
+++ b/tests/bugs192/nestmates/Outer2.java
@@ -0,0 +1,21 @@
+public class Outer2 {
+ private int i = 0;
+
+ public static void main(String []argv) {
+ Outer2 o2 = new Outer2();
+ Inner2 i2 = o2.new Inner2();
+ System.out.println(i2.i());
+ }
+
+ public class Inner2 {
+ public int i() {
+ return i;
+ }
+ }
+
+}
+
+aspect X {
+before(): execution(* Outer2.main(..)) { System.out.println("Before main()");}
+before(): execution(* Outer2.Inner2.i(..)) { System.out.println("Before i()");}
+}
diff --git a/tests/bugs192/nestmates/X.class b/tests/bugs192/nestmates/X.class
new file mode 100644
index 000000000..a8887a54c
--- /dev/null
+++ b/tests/bugs192/nestmates/X.class
Binary files differ