aboutsummaryrefslogtreecommitdiffstats
path: root/tests/harness
diff options
context:
space:
mode:
authorwisberg <wisberg>2004-10-14 23:13:31 +0000
committerwisberg <wisberg>2004-10-14 23:13:31 +0000
commit22a8bfca49914270469791b409d4d63d3bb83be2 (patch)
treea4eb5d553515761f9e5e4079413ebe3bc9f1b83f /tests/harness
parent52d8746b89a6bf18e1c7a1475b19a07b3150c8a4 (diff)
downloadaspectj-22a8bfca49914270469791b409d4d63d3bb83be2.tar.gz
aspectj-22a8bfca49914270469791b409d4d63d3bb83be2.zip
set static variable to avoid reading value set by other tests
Diffstat (limited to 'tests/harness')
-rw-r--r--tests/harness/aspectpath/Main.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/harness/aspectpath/Main.java b/tests/harness/aspectpath/Main.java
index 15b5d742e..56ca7f6a2 100644
--- a/tests/harness/aspectpath/Main.java
+++ b/tests/harness/aspectpath/Main.java
@@ -1,5 +1,8 @@
public class Main {
+ static {
+ System.setProperty("A.before", "false");
+ }
public static void main(String[] args) {
if (!Boolean.getBoolean("A.before")) {
throw new Error("property A.before not set by aspect A.java");