Re: encrypted source file support in jdk?



Tom Forsmo wrote:
Hi

I an wondering if anybody knows if its possible to extend the functionality of the sun java compiler/vm in jdk6, with for example plugins or similar? or if the jdk supports something similar already?

What I am looking for is to set up a jdk environment where the source code is ecrypted at the file level. This requires javac to be able to en-/decrypt the source files. For further protection, the jvm would need such support as well.

Use the encrypted file capability of your host operating system, or pipe the source through a decryptor on the way to the compiler.

--
Lew
.