< prev index next >

src/com/sun/javatest/agent/AgentClassLoader.java

Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg

*** 32,45 **** class AgentClassLoader extends ClassLoader { AgentClassLoader(Agent.Task parent) { this.parent = parent; } ! public synchronized Class loadClass(String className, boolean resolve) throws ClassNotFoundException { // check the cache first ! Class c = findLoadedClass(className); // not found in the cache? if (c == null) { try { ClassLoader cl = getClass().getClassLoader(); --- 32,45 ---- class AgentClassLoader extends ClassLoader { AgentClassLoader(Agent.Task parent) { this.parent = parent; } ! public synchronized Class<?> loadClass(String className, boolean resolve) throws ClassNotFoundException { // check the cache first ! Class<?> c = findLoadedClass(className); // not found in the cache? if (c == null) { try { ClassLoader cl = getClass().getClassLoader();
< prev index next >