« Return to Thread: Compiler can't find classes anymore (since 2.5.0)

Re: Compiler can't find classes anymore (since 2.5.0)

by Marcel. :: Rate this Message:

Reply to Author | View in Thread

I successfully compiled again by adding the following classloader(Thread.currentThread().getContextClassLoader() )
.....ClassBodyEvaluator.createFastClassBodyEvaluator(new Scanner(null, new StringReader(script)), Class.class, Thread.currentThread().getContextClassLoader().
But i don't really know why it worked before without.
Maybe someone can give me a hint.

 « Return to Thread: Compiler can't find classes anymore (since 2.5.0)