Thanks for the report - we will try to look at the bug.
The Local evaluation engine is used only by the scrapbook. It works by
compiling and deploying class files locally with a known name, known
entry point (method), in a known location so the class loader of a
launched VM can find the classes. This only works in a controlled
environment.
I have an idea for a new evaluation engine, which would be based on
hot code replace. It would be 100% correct, but it would require a
dummy method in a class to operate on it's stack frames :-) (since
JVM does not support adding new methods to classes). This makes it
useless to be used generally, but for my own domain it might not be
a big issue. Any input on this??
Hot swap only works in certain situations as well, and that is why we
do not use it to perform debugger evaluations. As you suggest, it
could be used for a specific use case in a controlled environment.