encoded class files

Hi,

I'm using encoded class files in my application. These files are decoded using my own classloader. I now introduced a new feature which should compile a part of code at runtime. The problem is that this code has imports of class which are only encoded available. Is it possible to install a preprocessor for the javac or is there a possibility to support a classloader for javac which also resolves imports with my classloder? Or are there better ideas?

Thanks Mario

[490 byte] By [_mruettia] at [2007-10-2 20:37:56]
# 1
You need to arrange for javac to use your classloader. This means you must invoke it in the same JVM from a context where your classloader is active, rather than using exec(). This is documented somewhere, have a look around.
ejpa at 2007-7-13 23:21:15 > top of Java-index,Developer Tools,Java Compiler...