summaryrefslogtreecommitdiffstats
path: root/tests/bugs180/432178
diff options
context:
space:
mode:
authorAndy Clement <aclement@gopivotal.com>2014-04-21 15:13:19 -0700
committerAndy Clement <aclement@gopivotal.com>2014-04-21 15:13:19 -0700
commit144a6294884029d2a5a2a67d0e792b8507a7e897 (patch)
tree80ce5284801dc7b6e2421dcbaf081d5b1724e17d /tests/bugs180/432178
parenta9da693f8a3016edf96cfe4b29d304afdfb6b1b8 (diff)
parent5a5bef1efd1026ee508fddff9be0632af68ba984 (diff)
downloadaspectj-144a6294884029d2a5a2a67d0e792b8507a7e897.tar.gz
aspectj-144a6294884029d2a5a2a67d0e792b8507a7e897.zip
Merge branch 'BETA_JAVA8'
Conflicts: build/usedForMavenUpload/aspectjrt.pom build/usedForMavenUpload/aspectjtools.pom build/usedForMavenUpload/aspectjweaver.pom docs/dist/doc/README-174.html docs/dist/doc/index.html lib/asm/build.xml org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/messages.properties weaver/.classpath weaver/src/org/aspectj/weaver/bcel/asm/StackMapAdder.java
Diffstat (limited to 'tests/bugs180/432178')
-rw-r--r--tests/bugs180/432178/A.java9
-rw-r--r--tests/bugs180/432178/B.java7
-rw-r--r--tests/bugs180/432178/PerCFlowBug.java11
-rw-r--r--tests/bugs180/432178/aop.xml9
4 files changed, 36 insertions, 0 deletions
diff --git a/tests/bugs180/432178/A.java b/tests/bugs180/432178/A.java
new file mode 100644
index 000000000..1ed166fa6
--- /dev/null
+++ b/tests/bugs180/432178/A.java
@@ -0,0 +1,9 @@
+public class A
+{
+ public static void main(String [] args)
+ {
+ B test = new B();
+ test.met();
+ }
+}
+
diff --git a/tests/bugs180/432178/B.java b/tests/bugs180/432178/B.java
new file mode 100644
index 000000000..624865cc9
--- /dev/null
+++ b/tests/bugs180/432178/B.java
@@ -0,0 +1,7 @@
+public class B
+{
+ public void met()
+ {
+ System.out.println("foo");
+ }
+}
diff --git a/tests/bugs180/432178/PerCFlowBug.java b/tests/bugs180/432178/PerCFlowBug.java
new file mode 100644
index 000000000..e81bd65c4
--- /dev/null
+++ b/tests/bugs180/432178/PerCFlowBug.java
@@ -0,0 +1,11 @@
+public abstract aspect PerCFlowBug percflow(pointexp())
+{
+ String name = "bar";
+
+ abstract pointcut pointexp();
+
+ after() : pointexp()
+ {
+ System.out.println(name);
+ }
+}
diff --git a/tests/bugs180/432178/aop.xml b/tests/bugs180/432178/aop.xml
new file mode 100644
index 000000000..dc317213e
--- /dev/null
+++ b/tests/bugs180/432178/aop.xml
@@ -0,0 +1,9 @@
+<aspectj>
+ <aspects>
+ <concrete-aspect name="PerCFlowBugImpl" extends="PerCFlowBug">
+ <pointcut name="pointexp" expression="(call (void *.met(..)))"/>
+ </concrete-aspect>
+ </aspects>
+ <weaver options="-verbose -debug -showWeaveInfo" >
+ </weaver>
+</aspectj>