--- a/jdk/src/share/classes/java/lang/management/PlatformComponent.java Fri Aug 24 11:48:51 2012 -0700
+++ b/jdk/src/share/classes/java/lang/management/PlatformComponent.java Fri Aug 24 22:55:49 2012 -0700
@@ -363,7 +363,8 @@
try {
// Lazy loading the MXBean interface only when it is needed
return (Class<? extends PlatformManagedObject>)
- Class.forName(mxbeanInterfaceName, false, null);
+ Class.forName(mxbeanInterfaceName, false,
+ PlatformManagedObject.class.getClassLoader());
} catch (ClassNotFoundException x) {
throw new AssertionError(x);
}