There is
classLoaderClass = (Class<? extends ClassLoader>) Class.forName(pkg + ".AgentClassLoader2");
in Agent source code, which could be replaced with
classLoaderClass = Class.forName(pkg + ".AgentClassLoader2").asSubclass(ClassLoader.class);
classLoaderClass = (Class<? extends ClassLoader>) Class.forName(pkg + ".AgentClassLoader2");
in Agent source code, which could be replaced with
classLoaderClass = Class.forName(pkg + ".AgentClassLoader2").asSubclass(ClassLoader.class);
- clones
-
CODETOOLS-7903544 Minor tweaks to the Agent source code
- Resolved