8184244: UIDefaults.addResourceBundle uses system class loader
Reviewed-by: serb, ssadetsky
--- a/jdk/src/java.desktop/share/classes/javax/swing/UIDefaults.java Fri Jul 14 10:30:32 2017 +0530
+++ b/jdk/src/java.desktop/share/classes/javax/swing/UIDefaults.java Sat Jul 15 11:15:07 2017 +0530
@@ -887,7 +887,7 @@
* 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