changeset 17405:d20477bb7cab

8182601: Improve usage messages Reviewed-by: alanb, ahgross, ksrini, mchung
author naoto
date Tue, 08 Aug 2017 10:43:07 -0700
parents a96004481e4b
children 12c79db95083
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	Wed Aug 02 10:34:35 2017 -0700
+++ 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;
     }
 
     /**