aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2022-03-31 12:50:14 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2022-03-31 14:39:35 +0700
commit3dc53e0351a37fc6d3f6a6e311df0320987edc48 (patch)
tree6c4f87c3d0b9dd91b449b746cd5ffb1beb2a59ba /tests
parentaae62efb0a338bafbcc17187bd21778191993a7b (diff)
downloadaspectj-3dc53e0351a37fc6d3f6a6e311df0320987edc48.tar.gz
aspectj-3dc53e0351a37fc6d3f6a6e311df0320987edc48.zip
POM bug: separate jvm.arg.allowSecurityManager from jvm.arg.addOpens
Before, this was in a single variable, and for JDK 18+, the security manager setting also falsely overwrote the '--add-opens' command. This was the root cause for a few dozen LTW tests to fail on JDK 18, if they were not run in full LTW mode, i.e. in a separate JVM. After this fix, it should be possible to revert the corresponding commits, at least their non-cosmetic parts. Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'tests')
-rw-r--r--tests/pom.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/pom.xml b/tests/pom.xml
index 21efac3cc..7b5e400bd 100644
--- a/tests/pom.xml
+++ b/tests/pom.xml
@@ -122,7 +122,10 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration combine.self="override">
<testFailureIgnore>false</testFailureIgnore>
- <argLine>${jvm.arg.addOpens}</argLine>
+ <argLine>
+ ${jvm.arg.addOpens}
+ ${jvm.arg.allowSecurityManager}
+ </argLine>
<includes>
<include>**/TestsModuleTests*</include>
</includes>