8184244: UIDefaults.addResourceBundle uses system class loader

Reviewed-by: serb, ssadetsky
This commit is contained in:
Prasanta Sadhukhan 2017-07-15 11:15:07 +05:30
parent f89582b4a7
commit 1d886495d2

View File

@ -887,7 +887,7 @@ public class UIDefaults extends Hashtable<Object,Object>
* Adds a resource bundle to the list of resource bundles that are
* searched for localized values. Resource bundles are searched in
* the reverse order they were added, using the
* {@linkplain ClassLoader#getSystemClassLoader application class loader}.
* {@linkplain ClassLoader#getSystemClassLoader system class loader}.
* In other words, the most recently added bundle is searched first.
*
* @param bundleName the base name of the resource bundle to be added