why class.newinstance() "evil"?


asked critique #3 's answer:




why class.newinstance() "evil"?




this response formula sample:



// prevaricate class.newinstance, evil.
constructor<? extends runnable> ctor = runclass.getconstructor();
runnable dorun = ctor.newinstance();


so, since evil?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?