You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to dynamically change code during runtime but keep the same class name.
Currently the way it seems to work is that this line of code:
aClass = CompilerUtils.CACHED_COMPILER.loadFromJava(className1, javaCode);
will compile the code when it runs the first time.
The 2nd time it won't compile, it will returned the compiled class from cash instead (even if the input String javaCode is different.
Can I somehow force that every time I call that line of code it will re-compile?