8182601: Improve usage messages
authornaoto
Tue, 08 Aug 2017 10:43:07 -0700
changeset 48570 9baae459d58e
parent 48569 950cb68f9d82
child 48571 cd23d1f99660
8182601: Improve usage messages Reviewed-by: alanb, ahgross, ksrini, mchung
src/java.base/share/classes/java/util/ResourceBundle.java
--- a/src/java.base/share/classes/java/util/ResourceBundle.java	Fri Jul 28 18:20:43 2017 +0000
+++ b/src/java.base/share/classes/java/util/ResourceBundle.java	Tue Aug 08 10:43:07 2017 -0700
@@ -571,7 +571,7 @@
      */
     private static ClassLoader getLoaderForControl(Module module) {
         ClassLoader loader = getLoader(module);
-        return loader == null ? ClassLoader.getSystemClassLoader() : loader;
+        return loader == null ? ClassLoader.getPlatformClassLoader() : loader;
     }
 
     /**