Add java.home to debug logging

This commit is contained in:
Robert Muir 2015-07-01 14:06:53 -04:00
parent 30f267f758
commit 41ac191cac
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ public class JarHell {
// like sun.boot.class.path, and with jigsaw we don't yet have a way to get // like sun.boot.class.path, and with jigsaw we don't yet have a way to get
// a "list" at all. So just exclude any elements underneath the java home // a "list" at all. So just exclude any elements underneath the java home
String javaHome = System.getProperty("java.home"); String javaHome = System.getProperty("java.home");
logger.debug("java.home: {}", javaHome);
final Map<String,URL> clazzes = new HashMap<>(32768); final Map<String,URL> clazzes = new HashMap<>(32768);
Set<String> seenJars = new HashSet<>(); Set<String> seenJars = new HashSet<>();
for (final URL url : urls) { for (final URL url : urls) {