This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Re: modify gcj for encrypt class-Files
- From: Andrew Haley <aph at redhat dot com>
- To: kobefan at gmx dot net
- Cc: java-patches at gcc dot gnu dot org, tromey at redhat dot com
- Date: Thu, 9 Mar 2006 13:23:29 +0000
- Subject: Re: Re: modify gcj for encrypt class-Files
- References: <18638.1141909734@www030.gmx.net>
kobefan@gmx.net writes:
> is there a possiblity to create my own classloader, who encrypt during
> compiling? The best solution would be for me when I could add an extra
> option to the gcj command like e.g. "gcj -encrypt ... *.java". Is this
> possible and when yes in which way?
It is possible, but pointless. Why not simply enctrypt the class
files?
> Are there some code examples anywhere?
This is a mailing list for developers of the GNU implementation of the
Java langauge. It is not a general Java help list. The answer to
your question can be found on any of the Java class loader tutorials
available on the net: just search for "user defined class loader".
Andrew.