Normally Windows won't let you set an empty environment variable (if you do it via the control panel).
According to the Windows c API, setting an empty value should remove the variable from the environment, which I guess is what the Wrapper is doing (although the variable appears in the dump).
I would like to better understand your scenario. Could you please explain why you need to set the variable to an empty value?
Best Regards,
Maxime
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for pointing this out.
My goal is to set an application configuration property to an empty string. The app config can (also) be changed via environment properties. The usual way, of course, would be to use wrapper.java.additional, but in my case I like to explicitly test the environment config mechanisms.
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Enabling debug shows this line at some point:
Last edit: Sven Haag 2020-01-20
Thank you for reporting this issue.
Normally Windows won't let you set an empty environment variable (if you do it via the control panel).
According to the Windows c API, setting an empty value should remove the variable from the environment, which I guess is what the Wrapper is doing (although the variable appears in the dump).
I would like to better understand your scenario. Could you please explain why you need to set the variable to an empty value?
Best Regards,
Maxime
Thanks for pointing this out.
My goal is to set an application configuration property to an empty string. The app config can (also) be changed via environment properties. The usual way, of course, would be to use
wrapper.java.additional, but in my case I like to explicitly test the environment config mechanisms.Cheers