| Other |
|---|
| 5.0 tigerFixed |
If value is null, System.setProperty(key, value) will throw NullPointerException. This behavior is not on the spec and makes it difficult to remove a system property. The workaround is to use System.setProperties(). However, if system does not give permissions to read/write all the system properties, this workaround will fail and there is no way to remove this single property.
|