Am 15.04.2011 14:15, schrieb Alan Bateman:
Ulf Zibis wrote:
:
Again I ask if we shouldn't disallow to user-define the "SystemRoot" variable
on Windows?
Imagine someone has set the variable to "C:\WINDOWS", but the correct value is
"D:\WINDOWS".
No, I don't think we should silently change the value of this or other
variables.
I don't think about silently changing, I think about to *disallow to set* it e.g. by the put()
method, and instead retrieve it by default from constructor, so it could be always read by the get()
method.
-Ulf