[CLJ-1311] gen-interface uses DynamicClassLoader when not compiling, gen-class doesn't Created: 20/Dec/13 Updated: 05/Feb/14
|Affects Version/s:||Release 1.5|
|Labels:||docstring, gen-class, interop|
The documentation for both gen-class and gen-interface says: "When not compiling, does nothing."
However, gen-interface does the right thing and uses DynamicClassLoader.defineClass when not compiling. This means e.g. that gen-interface works from the repl.
I don't see a reason why gen-class couldn't do the same. Obviously, the docstrings would need to be updated too.