[ClassLoader] enhance dltk assignment on condition