--- old/src/java.base/share/classes/jdk/internal/loader/BootLoader.java 2017-03-21 13:44:03.373445462 +0000 +++ new/src/java.base/share/classes/jdk/internal/loader/BootLoader.java 2017-03-21 13:44:03.171431600 +0000 @@ -96,6 +96,14 @@ } /** + * Returns {@code true} if there is a class path associated with the + * BootLoader. + */ + public static boolean hasClassPath() { + return ClassLoaders.bootLoader().hasClassPath(); + } + + /** * Register a module with this class loader so that its classes (and * resources) become visible via this class loader. */ @@ -188,14 +196,6 @@ } /** - * Returns {@code true} if there is a class path associated with the - * BootLoader. - */ - public static boolean hasClassPath() { - return ClassLoaders.bootLoader().hasClassPath(); - } - - /** * Helper class to define {@code Package} objects for packages in modules * defined to the boot loader. */