diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-03-31 12:50:14 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-03-31 14:39:35 +0700 |
commit | 3dc53e0351a37fc6d3f6a6e311df0320987edc48 (patch) | |
tree | 6c4f87c3d0b9dd91b449b746cd5ffb1beb2a59ba /run-all-junit-tests | |
parent | aae62efb0a338bafbcc17187bd21778191993a7b (diff) | |
download | aspectj-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 'run-all-junit-tests')
-rw-r--r-- | run-all-junit-tests/pom.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/run-all-junit-tests/pom.xml b/run-all-junit-tests/pom.xml index 583acfae1..30df18d38 100644 --- a/run-all-junit-tests/pom.xml +++ b/run-all-junit-tests/pom.xml @@ -198,7 +198,10 @@ <artifactId>maven-surefire-plugin</artifactId> <configuration> <testFailureIgnore>true</testFailureIgnore> - <argLine>${jvm.arg.addOpens}</argLine> + <argLine> + ${jvm.arg.addOpens} + ${jvm.arg.allowSecurityManager} + </argLine> </configuration> <executions> <execution> @@ -253,4 +256,3 @@ </build> </project> - |