JBoss Community

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

created by ami tabak in Javassist Development - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in Javassist Development at Community