On Wed, 23 Feb 2022 18:49:22 GMT, Ichiroh Takiguchi <itakigu...@openjdk.org> 
wrote:

>> Run jtreg:jdk/java/lang/ProcessBuilder/Basic.java on AIX.
>> The test was failed by:
>>   Incorrect handling of envstrings containing NULs
>> 
>> According to my investigation, this issue was happened after following 
>> change was applied.
>> JDK-8272600: (test) Use native "sleep" in Basic.java
>> 
>> test.nativepath value was added into AIX's LIBPATH during running this 
>> testcase.
>> On AIX, test.nativepath value should be removed from LIBPATH value before 
>> comparing the values.
>
> Ichiroh Takiguchi has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Add null check

Which  version of AIX is this failing on? I notice that for AIX 5.3, the usage 
of LIBPATH is being migrated to LD_LIBRARY_PATH with LIBPATH as a fallback.

Jtreg when setting up the test with the "/native" on the @run line adds 
`test.nativepath` to `LIBPATH`.
What I'm puzzled by is the original case in which `test.nativepath` was 
appended to `LIBPATH` and passed to the child and yet the child returns the 
value of `LIBPATH` without `test.nativepath`.
It may not be material to fixing the errors, but does make me curious about 
what's really going on.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7574

Reply via email to