changeset 48477:9baae459d58e

8182601: Improve usage messages Reviewed-by: alanb, ahgross, ksrini, mchung
author naoto
date Tue, 08 Aug 2017 10:43:07 -0700
parents 950cb68f9d82
children cd23d1f99660
files src/java.base/share/classes/java/util/ResourceBundle.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }
 
     /**