Usage of System.getProperty() vs. SystemProperties.getProperty()

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

 



Tom Tromey wrote:
> >>>>> "David" == David Daney <ddaney@xxxxxxxxxx> writes:
> 
> David> So what should happen in a class like
> David> gnu/java/net/protocol/http/HTTPConnection when we have
> David> to read properties?
> 
> David> Should it use SystemProperties or PrivilegedAction?
> 
> SystemProperties.

Definitly.  Using PrivilegedAction just for a properties check is
overkill.

Cheers,
Gary


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux