This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push:
new 8a4d3ee Use java.home system property in TrustStoreResource
8a4d3ee is described below
commit 8a4d3ee314ac3298ca920c40561bf3e3f8d5fa61
Author: James Netherton <[email protected]>
AuthorDate: Wed Jul 15 08:07:20 2020 +0100
Use java.home system property in TrustStoreResource
---
.../src/main/java/org/apache/camel/quarkus/test/TrustStoreResource.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/integration-tests-support/test-support/src/main/java/org/apache/camel/quarkus/test/TrustStoreResource.java
b/integration-tests-support/test-support/src/main/java/org/apache/camel/quarkus/test/TrustStoreResource.java
index 8b2c5d1..e6bdb18 100644
---
a/integration-tests-support/test-support/src/main/java/org/apache/camel/quarkus/test/TrustStoreResource.java
+++
b/integration-tests-support/test-support/src/main/java/org/apache/camel/quarkus/test/TrustStoreResource.java
@@ -36,7 +36,7 @@ public class TrustStoreResource implements
QuarkusTestResourceLifecycleManager {
@Override
public Map<String, String> start() {
final String graalVmHome = System.getenv("GRAALVM_HOME");
- final String javaHome = System.getenv("JAVA_HOME");
+ final String javaHome = System.getProperty("java.home",
System.getenv("JAVA_HOME"));
Path trustStorePath;