[java-idp-integration-tests] branch master updated: IDP-843 - Remove check to verify that java.home/bin/java exists.

Tom Zeller tzeller at dragonacea.biz
Thu May 19 17:21:36 EDT 2016


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch master
in repository java-idp-integration-tests.

The following commit(s) were added to refs/heads/master by this push:
       new  204833e   IDP-843 - Remove check to verify that java.home/bin/java exists.
204833e is described below

commit 204833e94c79abceac08c1482cd7be79d59bd6fd
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu May 19 16:21:14 2016 -0500

    IDP-843 - Remove check to verify that java.home/bin/java exists.
    
    Because on Windows 'java' is actually 'java.exe' or such.
---
 src/test/java/net/shibboleth/idp/test/JettyServerProcess.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java b/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java
index 2d23394..514d933 100644
--- a/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java
+++ b/src/test/java/net/shibboleth/idp/test/JettyServerProcess.java
@@ -198,10 +198,6 @@ public class JettyServerProcess extends AbstractInitializableComponent implement
 
         // Throw exception if path to java does not exist.
         final Path pathToJava = Paths.get(System.getProperty("java.home"), "bin", "java");
-        if (!pathToJava.toAbsolutePath().toFile().exists()) {
-            log.error("Path to java '{}' not found", pathToJava);
-            throw new ComponentInitializationException("Path to java '" + pathToJava + "' not found.");
-        }
 
         // Setup commands to start the Jetty process.
         commands = new ArrayList<>();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list