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