8182601: Improve usage messages

Reviewed-by: alanb, ahgross, ksrini, mchung
This commit is contained in:
Naoto Sato 2017-08-08 10:43:07 -07:00
parent 72e7522e88
commit 7c91898b9f

View File

@ -571,7 +571,7 @@ public abstract class ResourceBundle {
*/
private static ClassLoader getLoaderForControl(Module module) {
ClassLoader loader = getLoader(module);
return loader == null ? ClassLoader.getSystemClassLoader() : loader;
return loader == null ? ClassLoader.getPlatformClassLoader() : loader;
}
/**