[jboss-cvs] JBossAS SVN: r114646 - branches/JBPAPP_5/testsuite/src/main/org/jboss/test/security/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jan 2 04:31:11 EST 2014
Author: soul2zimate
Date: 2014-01-02 04:31:11 -0500 (Thu, 02 Jan 2014)
New Revision: 114646
Modified:
branches/JBPAPP_5/testsuite/src/main/org/jboss/test/security/test/VaultPasswordUnitTestCase.java
Log:
small test change followed JBPAPP-10921 to be compatible with JDK6
Modified: branches/JBPAPP_5/testsuite/src/main/org/jboss/test/security/test/VaultPasswordUnitTestCase.java
===================================================================
--- branches/JBPAPP_5/testsuite/src/main/org/jboss/test/security/test/VaultPasswordUnitTestCase.java 2014-01-02 06:42:18 UTC (rev 114645)
+++ branches/JBPAPP_5/testsuite/src/main/org/jboss/test/security/test/VaultPasswordUnitTestCase.java 2014-01-02 09:31:11 UTC (rev 114646)
@@ -23,7 +23,6 @@
package org.jboss.test.security.test;
import java.net.HttpURLConnection;
-import java.nio.file.Paths;
import java.util.HashMap;
import javax.naming.InitialContext;
@@ -69,7 +68,7 @@
protected void setUp() throws Exception {
super.setUp();
- String RESOURCE_LOCATION = Paths.get(VaultPasswordUnitTestCase.class.getResource("/security/vault/ds-vault/").toURI()).toString();
+ String RESOURCE_LOCATION = getClass().getClassLoader().getResource("vault/ds-vault").getPath();
baseURLNoAuth = "http://" + getServerHost() + ":" + Integer.getInteger("web.port", 8080) + "/";
More information about the jboss-cvs-commits
mailing list