0 Replies Latest reply on Nov 18, 2012 6:47 AM by amitabakoptier

    ClassPool:   getCtClassVs makeClass. Why getCtClass not synchronzied while makeClass is synchronized ?

    amitabakoptier

      ClassPool.makeClass is a synchronized flow while ClassPool.getCtClass API is not synchronized.

      Thing is ClassPool.getCtClass may end up creating a new CtClassType

      Its not clear its not being synchronized just as makeClass is