jdk/src/share/classes/com/sun/jmx/remote/internal/IIOPHelper.java
changeset 13589 da4cb574f4a6
parent 5506 202f599c92aa
child 14342 8435a30053c1
--- a/jdk/src/share/classes/com/sun/jmx/remote/internal/IIOPHelper.java	Fri Aug 24 11:48:51 2012 -0700
+++ b/jdk/src/share/classes/com/sun/jmx/remote/internal/IIOPHelper.java	Fri Aug 24 22:55:49 2012 -0700
@@ -52,7 +52,8 @@
         AccessController.doPrivileged(new PrivilegedAction<IIOPProxy>() {
             public IIOPProxy run() {
                 try {
-                    Class<?> c = Class.forName(IMPL_CLASS, true, null);
+                    Class<?> c = Class.forName(IMPL_CLASS, true,
+                                               IIOPHelper.class.getClassLoader());
                     return (IIOPProxy)c.newInstance();
                 } catch (ClassNotFoundException cnf) {
                     return null;