aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ajcTestsFailing.xml15
-rw-r--r--tests/incremental/full-rebuild/src/Aspect.20.java4
-rw-r--r--tests/incremental/full-rebuild/src/Aspect.java4
-rw-r--r--tests/incremental/full-rebuild/src/Main.java6
4 files changed, 29 insertions, 0 deletions
diff --git a/tests/ajcTestsFailing.xml b/tests/ajcTestsFailing.xml
index c2fb46b05..48879067d 100644
--- a/tests/ajcTestsFailing.xml
+++ b/tests/ajcTestsFailing.xml
@@ -133,4 +133,19 @@
<run class="InterfaceInitializerOrder"/>
</ajc-test>
+ <ajc-test dir="incremental/full-rebuild"
+ pr="59895"
+ title="incremental with aspect-driven full rebuild">
+ <compile
+ staging="true"
+ sourceroots="src"
+ options="-incremental">
+ <message kind="error" line="3" file="Aspect.java"/>
+ </compile>
+ <inc-compile tag="20">
+ <message kind="warning" line="4" file="Main.java"/>
+ </inc-compile>
+ <run class="Main"/>
+ </ajc-test>
+
</suite>
diff --git a/tests/incremental/full-rebuild/src/Aspect.20.java b/tests/incremental/full-rebuild/src/Aspect.20.java
new file mode 100644
index 000000000..94367bb64
--- /dev/null
+++ b/tests/incremental/full-rebuild/src/Aspect.20.java
@@ -0,0 +1,4 @@
+
+public aspect Aspect {
+ declare warning : execution(static void main(String[])): "dw";
+} \ No newline at end of file
diff --git a/tests/incremental/full-rebuild/src/Aspect.java b/tests/incremental/full-rebuild/src/Aspect.java
new file mode 100644
index 000000000..b2fc2887f
--- /dev/null
+++ b/tests/incremental/full-rebuild/src/Aspect.java
@@ -0,0 +1,4 @@
+
+public aspect Aspect {
+ declare warning : execution(static void main(String[])):: "dw";
+} \ No newline at end of file
diff --git a/tests/incremental/full-rebuild/src/Main.java b/tests/incremental/full-rebuild/src/Main.java
new file mode 100644
index 000000000..d3dbf0c5e
--- /dev/null
+++ b/tests/incremental/full-rebuild/src/Main.java
@@ -0,0 +1,6 @@
+
+public class Main {
+ public static void main(String[] args) {
+ System.getProperty("code for method-execution location");
+ }
+} \ No newline at end of file