classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System.getProperty & SecurityManager ; patches


From: Michael Koch
Subject: Re: System.getProperty & SecurityManager ; patches
Date: Fri, 16 Apr 2004 10:25:34 +0200
User-agent: KMail/1.5.4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Freitag, 16. April 2004 08:27 schrieb Ewout Prangsma:
> Hi all,
>
> I've attached the utilities classes and listed the placed that need
> patching.
> I'm sorry i'm not able to send you normal patch files, I've got a
> bit too much changed for that still.
>
> The principle is very simple.
> Replace every
> System.getProperty(..)
> with
> (String)AccessController.doPrivileged(new GetPropertyAction(key[,
> default]))

In general thats the right idea and I have thought about it already. 
The only problem is that AccessController isnt really working yet so 
this would break classpath totally.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAf5iFWSOgCCdjSDsRAqbwAJ9d+rFp8uGTr16/Jo87BqAPr2rqlACcD3BW
FxkD6mW5NRw+uQ5i1kRjFGs=
=lK+N
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]