mirror of
https://github.com/lightbend/config.git
synced 2025-03-22 07:10:23 +08:00
correct spec's text about empty environment variables
This commit is contained in:
parent
6ec2681055
commit
0457e352fb
3
HOCON.md
3
HOCON.md
@ -1026,7 +1026,8 @@ environment, for example.
|
|||||||
|
|
||||||
Environment variables are interpreted as follows:
|
Environment variables are interpreted as follows:
|
||||||
|
|
||||||
- present and set to empty string: treated as not present
|
- env variables set to the empty string are kept as such (set to
|
||||||
|
empty string, rather than undefined)
|
||||||
- System.getenv throws SecurityException: treated as not present
|
- System.getenv throws SecurityException: treated as not present
|
||||||
- encoding is handled by Java (System.getenv already returns
|
- encoding is handled by Java (System.getenv already returns
|
||||||
a Unicode string)
|
a Unicode string)
|
||||||
|
Loading…
Reference in New Issue
Block a user