Re: Subtle differences in System.getenv() between Windows and Linux

2021-03-09 Thread Roger Riggs
Hi, The code in both versions of ProcessEnvironment is mostly pre-2007 seem to have the same original author. It is the typical inheritance vs delegation choice and likely driven by the details of what was being stored and the OS specific details that need to be processed. For example, Linux

Subtle differences in System.getenv() between Windows and Linux

2021-03-09 Thread Galder Zamarreno
Hi all, One of my colleagues discovered an intriguing difference between Linux and Windows, in the context of GraalVM native-image, when it comes to the returned value for System.getenv(). On windows, the native test he's encountered that a test fails with: > Error: No instances of