public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Re: modify gcj for encrypt class-Files
@ 2006-03-09 13:08 kobefan
  2006-03-09 13:23 ` Andrew Haley
  0 siblings, 1 reply; 2+ messages in thread
From: kobefan @ 2006-03-09 13:08 UTC (permalink / raw)
  To: java-patches; +Cc: tromey

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 425 bytes --]

Hello Tom,

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?


Are there some code examples anywhere?


regards
Toni





-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Re: modify gcj for encrypt class-Files
  2006-03-09 13:08 Re: modify gcj for encrypt class-Files kobefan
@ 2006-03-09 13:23 ` Andrew Haley
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Haley @ 2006-03-09 13:23 UTC (permalink / raw)
  To: kobefan; +Cc: java-patches, tromey

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-09 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-09 13:08 Re: modify gcj for encrypt class-Files kobefan
2006-03-09 13:23 ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).