--- old/src/java.base/share/classes/sun/misc/Launcher.java 2016-02-16 18:47:49.000000000 +0000 +++ new/src/java.base/share/classes/sun/misc/Launcher.java 2016-02-16 18:47:49.000000000 +0000 @@ -319,21 +319,7 @@ if (bootClassPath == null) return new URL[0]; // Skip empty path in boot class path i.e. not default to use CWD - File[] classPath = getClassPath(bootClassPath, false); - int len = classPath.length; - Set seenDirs = new HashSet(); - for (int i = 0; i < len; i++) { - File curEntry = classPath[i]; - // Negative test used to properly handle - // nonexistent jars on boot class path - if (!curEntry.isDirectory()) { - curEntry = curEntry.getParentFile(); - } - if (curEntry != null && seenDirs.add(curEntry)) { - MetaIndex.registerDirectory(curEntry); - } - } - return pathToURLs(classPath); + return pathToURLs(getClassPath(bootClassPath, false)); } } );