summaryrefslogtreecommitdiff
path: root/javax
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2007-01-16 21:25:28 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2007-01-16 21:25:28 +0000
commit754daf6db83a519ca33b3f37279a6bf666dece83 (patch)
treefe3d96f4d849f5fa03f1055a7918c8998eda644a /javax
parent901074bc7db947f4d8e68750283b6a2c71e0a116 (diff)
downloadclasspath-754daf6db83a519ca33b3f37279a6bf666dece83.tar.gz
2007-01-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/DefaultLoaderRepository.java: (loadClass(String)): Made static. (loadClassWithout(String,ClassLoader)): Likewise.
Diffstat (limited to 'javax')
-rw-r--r--javax/management/DefaultLoaderRepository.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/javax/management/DefaultLoaderRepository.java b/javax/management/DefaultLoaderRepository.java
index 0f0a875fd..b905af22f 100644
--- a/javax/management/DefaultLoaderRepository.java
+++ b/javax/management/DefaultLoaderRepository.java
@@ -77,7 +77,7 @@ import java.util.List;
* @throws ClassNotFoundException if all the class loaders fail
* to load the class.
*/
- public Class loadClass(String name)
+ public static Class loadClass(String name)
throws ClassNotFoundException
{
List<MBeanServer> servers = MBeanServerFactory.findMBeanServer(null);
@@ -124,7 +124,7 @@ import java.util.List;
* @throws ClassNotFoundException if all the class loaders fail
* to load the class.
*/
- public Class loadClassWithout(ClassLoader exclude, String name)
+ public static Class loadClassWithout(ClassLoader exclude, String name)
throws ClassNotFoundException
{
List<MBeanServer> servers = MBeanServerFactory.findMBeanServer(null);