Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903545

Unchecked cast in Agent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jt6.0
    • jt6.0
    • tools
    • None
    • b27

      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);

            dbessono Dmitry Bessonov
            dbessono Dmitry Bessonov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: