This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: modify gcj for encrypt class-Files


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]