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

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

 



Hi all,

I am a bit confused when to use the internal SystemProperties.getProperty()
method over the normal System.getProperty() method.

Until now I thought SystemProperties.getProperty() is to be used inside the
internal gnu.* namespace as it should be save here to call without the security
manager enforced. However there is also a lot of usage of the normal
System.getProperty() method.

For example gnu.java.net.protocol.file.Connection uses
SystemProperties.getProperty() to get the line.separator whereas
gnu.java.io.PlatformHelper uses System.getProperty().

Clarifications are welcome :-)

Thanks,
Wolfgang


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

  Powered by Linux