« 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 used this with my customized class before:

Didn't work with 2.5.1:
Myclass myclass=(Myclass) ClassBodyEvaluator.createFastClassBodyEvaluator(new Scanner(null, "mysource", Myclass.class, null);

Worked again with 2.5.1:
Myclass myclass=(Myclass) ClassBodyEvaluator.createFastClassBodyEvaluator(new Scanner(null, "mysource", Myclass.class, Thread.currentThread().getContextClassLoader());


Apropos: i used nabble to post my messages to the mailing list (http://www.nabble.com/codehaus---janino-f11887.html).
Maybe you can link your website with this forum which makes it easier to post a message or read old information
for your excellent compiler.

With kind regards
Marcel

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