0 Replies Latest reply on May 16, 2005 3:36 AM by icecrash

    root classpool and child class pool question

    icecrash

      why if i make a root class pool and a child classpool ,when i reference a ctclass from child class pool , i do not see all method from that?

      i make a root class pool:

      ClassPool RootClassPool;
      RootClassPool = new ClassPool();
      RootClassPool.getDefault();
      


      i make a child classpool:
      ClassPool CP;
      CtClass CTCLASSE;
      .
      .
      .
      CP = new ClassPool(RootClassPool);
      try {
       CTCLASSE = CP.get("className");
       }
       catch(Exception e){System.err.println(e);}
      .
      .
      .