commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1749618 - /commons/proper/bcel/trunk/src/test/java/org/apache/bcel/generic/JDKGenericDumpTestCase.java
Date Tue, 21 Jun 2016 22:35:07 GMT
Author: ggregory
Date: Tue Jun 21 22:35:07 2016
New Revision: 1749618

URL: http://svn.apache.org/viewvc?rev=1749618&view=rev
Log:
On Windows, test whatever JRE and JDK are registered in the Windows Registry.

Modified:
    commons/proper/bcel/trunk/src/test/java/org/apache/bcel/generic/JDKGenericDumpTestCase.java

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/bcel/generic/JDKGenericDumpTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/bcel/generic/JDKGenericDumpTestCase.java?rev=1749618&r1=1749617&r2=1749618&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/bcel/generic/JDKGenericDumpTestCase.java
(original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/bcel/generic/JDKGenericDumpTestCase.java
Tue Jun 21 22:35:07 2016
@@ -67,7 +67,7 @@ public class JDKGenericDumpTestCase {
             return findJavaHomesOnWindows();
         }
         final Set<String> javaHomes = new HashSet<>(1);
-        javaHomes.add(System.getProperty("java.home"));
+        javaHomes.add(SystemUtils.JAVA_HOME);
         return javaHomes;
     }
 



Mime
View raw message